/*!
 * kml与geojson互转工具类
 * 版本信息：v1.3.0, hash值: 29a189d4d811cb40d790
 * 编译日期：2024-05-06 12:33:00
 * 版权所有：Copyright by 木遥 https://github.com/muyao1987/kml-geojson
 *
 */
!(function (t, e) {
    "object" == typeof exports && "object" == typeof module
        ? (module.exports = e())
        : "function" == typeof define && define.amd
        ? define("kgUtil", [], e)
        : "object" == typeof exports
        ? (exports.kgUtil = e())
        : (t.kgUtil = e());
})(window, function () {
    return (function (t) {
        var e = {};
        function r(n) {
            if (e[n]) return e[n].exports;
            var i = (e[n] = { i: n, l: !1, exports: {} });
            return t[n].call(i.exports, i, i.exports, r), (i.l = !0), i.exports;
        }
        return (
            (r.m = t),
            (r.c = e),
            (r.d = function (t, e, n) {
                r.o(t, e) || Object.defineProperty(t, e, { enumerable: !0, get: n });
            }),
            (r.r = function (t) {
                "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(t, Symbol.toStringTag, { value: "Module" }),
                    Object.defineProperty(t, "__esModule", { value: !0 });
            }),
            (r.t = function (t, e) {
                if ((1 & e && (t = r(t)), 8 & e)) return t;
                if (4 & e && "object" == typeof t && t && t.__esModule) return t;
                var n = Object.create(null);
                if ((r.r(n), Object.defineProperty(n, "default", { enumerable: !0, value: t }), 2 & e && "string" != typeof t))
                    for (var i in t)
                        r.d(
                            n,
                            i,
                            function (e) {
                                return t[e];
                            }.bind(null, i)
                        );
                return n;
            }),
            (r.n = function (t) {
                var e =
                    t && t.__esModule
                        ? function () {
                              return t.default;
                          }
                        : function () {
                              return t;
                          };
                return r.d(e, "a", e), e;
            }),
            (r.o = function (t, e) {
                return Object.prototype.hasOwnProperty.call(t, e);
            }),
            (r.p = ""),
            r((r.s = 19))
        );
    })([
        function (t, e, r) {
            "use strict";
            (function (t) {
                r.d(e, "a", function () {
                    return v;
                });
                var n,
                    i = r(1),
                    o = r.n(i),
                    a = /\s*/g,
                    s = /^\s*|\s*$/g,
                    u = /\s+/;
                function l(t) {
                    if (!t || !t.length) return 0;
                    for (var e = 0, r = 0; e < t.length; e++) r = ((r << 5) - r + t.charCodeAt(e)) | 0;
                    return r;
                }
                function c(t, e) {
                    return t.getElementsByTagName(e);
                }
                function f(t, e) {
                    return t.getAttribute(e);
                }
                function h(t, e) {
                    var r = c(t, e);
                    return r.length ? r[0] : null;
                }
                function d(t) {
                    for (var e = 0, r = []; e < t.length; e++) r[e] = parseFloat(t[e]);
                    return r;
                }
                function p(t) {
                    var e;
                    return t && (e = t).normalize && e.normalize(), (t && t.textContent) || "";
                }
                function m(t) {
                    return d(t.replace(a, "").split(","));
                }
                function g(t) {
                    for (var e = t.replace(s, "").split(u), r = [], n = 0; n < e.length; n++) r.push(m(e[n]));
                    return r;
                }
                function y(t) {
                    return void 0 !== t.xml ? t.xml : n.serializeToString(t);
                }
                function v(t) {
                    for (
                        var e = { type: "FeatureCollection", features: [] },
                            r = {},
                            n = {},
                            i = {},
                            o = ["Polygon", "LineString", "Point", "Track", "gx:Track"],
                            a = c(t, "Placemark"),
                            s = c(t, "Style"),
                            u = c(t, "StyleMap"),
                            v = 0;
                        v < s.length;
                        v++
                    ) {
                        var _ = l(y(s[v])).toString(16);
                        (r["#" + f(s[v], "id")] = _), (n[_] = s[v]);
                    }
                    for (var w = 0; w < u.length; w++) {
                        r["#" + f(u[w], "id")] = l(y(u[w])).toString(16);
                        for (var b = c(u[w], "Pair"), k = {}, x = 0; x < b.length; x++) k[p(h(b[x], "key"))] = p(h(b[x], "styleUrl"));
                        i["#" + f(u[w], "id")] = k;
                    }
                    for (var E = 0; E < a.length; E++) e.features = e.features.concat(T(a[E]));
                    function S(t) {
                        var e, r;
                        return (
                            "#" === (t = t || "").substr(0, 1) && (t = t.substr(1)),
                            (6 !== t.length && 3 !== t.length) || (e = t),
                            8 === t.length && ((r = parseInt(t.substr(0, 2), 16) / 255), (e = "#" + t.substr(6, 2) + t.substr(4, 2) + t.substr(2, 2))),
                            [e, isNaN(r) ? void 0 : r]
                        );
                    }
                    function A(t) {
                        var e = c(t, "coord"),
                            r = [],
                            n = [];
                        0 === e.length && (e = c(t, "gx:coord"));
                        for (var i = 0; i < e.length; i++) r.push(d(p(e[i]).split(" ")));
                        for (var o = c(t, "when"), a = 0; a < o.length; a++) n.push(p(o[a]));
                        return { coords: r, times: n };
                    }
                    function T(t) {
                        var e,
                            a = (function t(e) {
                                var r,
                                    n,
                                    i,
                                    a,
                                    s,
                                    u = [],
                                    l = [];
                                if (h(e, "MultiGeometry")) return t(h(e, "MultiGeometry"));
                                if (h(e, "MultiTrack")) return t(h(e, "MultiTrack"));
                                if (h(e, "gx:MultiTrack")) return t(h(e, "gx:MultiTrack"));
                                for (i = 0; i < o.length; i++)
                                    if ((n = c(e, o[i])))
                                        for (a = 0; a < n.length; a++)
                                            if (((r = n[a]), "Point" === o[i])) u.push({ type: "Point", coordinates: m(p(h(r, "coordinates"))) });
                                            else if ("LineString" === o[i]) u.push({ type: "LineString", coordinates: g(p(h(r, "coordinates"))) });
                                            else if ("Polygon" === o[i]) {
                                                var f = c(r, "LinearRing"),
                                                    d = [];
                                                for (s = 0; s < f.length; s++) d.push(g(p(h(f[s], "coordinates"))));
                                                u.push({ type: "Polygon", coordinates: d });
                                            } else if ("Track" === o[i] || "gx:Track" === o[i]) {
                                                var y = A(r);
                                                u.push({ type: "LineString", coordinates: y.coords }), y.times.length && l.push(y.times);
                                            }
                                return { geoms: u, coordTimes: l };
                            })(t),
                            s = {},
                            u = p(h(t, "name")),
                            l = p(h(t, "styleUrl")),
                            d = p(h(t, "description")),
                            y = h(t, "TimeSpan"),
                            v = h(t, "TimeStamp"),
                            _ = h(t, "ExtendedData"),
                            w = h(t, "LineStyle"),
                            b = h(t, "PolyStyle"),
                            k = h(t, "visibility");
                        if (!a.geoms.length) return [];
                        if ((u && (s.name = u), l)) {
                            "#" !== l[0] && (l = "#" + l),
                                (s.styleUrl = l),
                                r[l] && (s.styleHash = r[l]),
                                i[l] && ((s.styleMapHash = i[l]), (s.styleHash = r[i[l].normal]));
                            var x = n[s.styleHash];
                            x && (w || (w = h(x, "LineStyle")), b || (b = h(x, "PolyStyle")));
                        }
                        if ((d && (s.description = d), y)) {
                            var E = p(h(y, "begin")),
                                T = p(h(y, "end"));
                            s.timespan = { begin: E, end: T };
                        }
                        if ((v && (s.timestamp = p(h(v, "when"))), w)) {
                            var C = S(p(h(w, "color"))),
                                N = C[0],
                                I = C[1],
                                O = parseFloat(p(h(w, "width")));
                            N && (s.stroke = N), isNaN(I) || (s["stroke-opacity"] = I), isNaN(O) || (s["stroke-width"] = O);
                        }
                        if (b) {
                            var R = S(p(h(b, "color"))),
                                D = R[0],
                                z = R[1],
                                P = p(h(b, "fill")),
                                B = p(h(b, "outline"));
                            D && (s.fill = D),
                                isNaN(z) || (s["fill-opacity"] = z),
                                P && (s["fill-opacity"] = "1" === P ? s["fill-opacity"] || 1 : 0),
                                B && (s["stroke-opacity"] = "1" === B ? s["stroke-opacity"] || 1 : 0);
                        }
                        if (_) {
                            var U = c(_, "Data"),
                                F = c(_, "SimpleData");
                            for (e = 0; e < U.length; e++) {
                                var L = U[e].getAttribute("name"),
                                    M = p(h(U[e], "value"));
                                try {
                                    M = JSON.parse(M);
                                } catch (t) {}
                                s[L] = M;
                            }
                            for (e = 0; e < F.length; e++) {
                                var j = F[e].getAttribute("name"),
                                    Z = p(F[e]);
                                try {
                                    Z = JSON.parse(Z);
                                } catch (t) {}
                                s[j] = Z;
                            }
                        }
                        k && (s.visibility = p(k)), a.coordTimes.length && (s.coordTimes = 1 === a.coordTimes.length ? a.coordTimes[0] : a.coordTimes);
                        var W = {
                            type: "Feature",
                            geometry: 1 === a.geoms.length ? a.geoms[0] : { type: "GeometryCollection", geometries: a.geoms },
                            properties: s,
                        };
                        return f(t, "id") && (W.id = f(t, "id")), [W];
                    }
                    return e;
                }
                "undefined" != typeof XMLSerializer
                    ? (n = new XMLSerializer())
                    : "object" !== ("undefined" == typeof exports ? "undefined" : o()(exports)) ||
                      "object" !== (void 0 === t ? "undefined" : o()(t)) ||
                      t.browser ||
                      (n = new (r(16).XMLSerializer)());
            }).call(this, r(3));
        },
        function (t, e) {
            function r(e) {
                return (
                    (t.exports = r =
                        "function" == typeof Symbol && "symbol" == typeof Symbol.iterator
                            ? function (t) {
                                  return typeof t;
                              }
                            : function (t) {
                                  return t && "function" == typeof Symbol && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
                              }),
                    (t.exports.__esModule = !0),
                    (t.exports.default = t.exports),
                    r(e)
                );
            }
            (t.exports = r), (t.exports.__esModule = !0), (t.exports.default = t.exports);
        },
        function (t, e) {
            var r;
            r = (function () {
                return this;
            })();
            try {
                r = r || new Function("return this")();
            } catch (t) {
                "object" == typeof window && (r = window);
            }
            t.exports = r;
        },
        function (t, e) {
            var r,
                n,
                i = (t.exports = {});
            function o() {
                throw new Error("setTimeout has not been defined");
            }
            function a() {
                throw new Error("clearTimeout has not been defined");
            }
            function s(t) {
                if (r === setTimeout) return setTimeout(t, 0);
                if ((r === o || !r) && setTimeout) return (r = setTimeout), setTimeout(t, 0);
                try {
                    return r(t, 0);
                } catch (e) {
                    try {
                        return r.call(null, t, 0);
                    } catch (e) {
                        return r.call(this, t, 0);
                    }
                }
            }
            !(function () {
                try {
                    r = "function" == typeof setTimeout ? setTimeout : o;
                } catch (t) {
                    r = o;
                }
                try {
                    n = "function" == typeof clearTimeout ? clearTimeout : a;
                } catch (t) {
                    n = a;
                }
            })();
            var u,
                l = [],
                c = !1,
                f = -1;
            function h() {
                c && u && ((c = !1), u.length ? (l = u.concat(l)) : (f = -1), l.length && d());
            }
            function d() {
                if (!c) {
                    var t = s(h);
                    c = !0;
                    for (var e = l.length; e; ) {
                        for (u = l, l = []; ++f < e; ) u && u[f].run();
                        (f = -1), (e = l.length);
                    }
                    (u = null),
                        (c = !1),
                        (function (t) {
                            if (n === clearTimeout) return clearTimeout(t);
                            if ((n === a || !n) && clearTimeout) return (n = clearTimeout), clearTimeout(t);
                            try {
                                n(t);
                            } catch (e) {
                                try {
                                    return n.call(null, t);
                                } catch (e) {
                                    return n.call(this, t);
                                }
                            }
                        })(t);
                }
            }
            function p(t, e) {
                (this.fun = t), (this.array = e);
            }
            function m() {}
            (i.nextTick = function (t) {
                var e = new Array(arguments.length - 1);
                if (arguments.length > 1) for (var r = 1; r < arguments.length; r++) e[r - 1] = arguments[r];
                l.push(new p(t, e)), 1 !== l.length || c || s(d);
            }),
                (p.prototype.run = function () {
                    this.fun.apply(null, this.array);
                }),
                (i.title = "browser"),
                (i.browser = !0),
                (i.env = {}),
                (i.argv = []),
                (i.version = ""),
                (i.versions = {}),
                (i.on = m),
                (i.addListener = m),
                (i.once = m),
                (i.off = m),
                (i.removeListener = m),
                (i.removeAllListeners = m),
                (i.emit = m),
                (i.prependListener = m),
                (i.prependOnceListener = m),
                (i.listeners = function (t) {
                    return [];
                }),
                (i.binding = function (t) {
                    throw new Error("process.binding is not supported");
                }),
                (i.cwd = function () {
                    return "/";
                }),
                (i.chdir = function (t) {
                    throw new Error("process.chdir is not supported");
                }),
                (i.umask = function () {
                    return 0;
                });
        },
        function (t, e) {
            function r(t, e) {
                for (var r in t) e[r] = t[r];
            }
            function n(t, e) {
                var n = t.prototype;
                if (!(n instanceof e)) {
                    function i() {}
                    (i.prototype = e.prototype), r(n, (i = new i())), (t.prototype = n = i);
                }
                n.constructor != t && ("function" != typeof t && console.error("unknow Class:" + t), (n.constructor = t));
            }
            var i = {},
                o = (i.ELEMENT_NODE = 1),
                a = (i.ATTRIBUTE_NODE = 2),
                s = (i.TEXT_NODE = 3),
                u = (i.CDATA_SECTION_NODE = 4),
                l = (i.ENTITY_REFERENCE_NODE = 5),
                c = (i.ENTITY_NODE = 6),
                f = (i.PROCESSING_INSTRUCTION_NODE = 7),
                h = (i.COMMENT_NODE = 8),
                d = (i.DOCUMENT_NODE = 9),
                p = (i.DOCUMENT_TYPE_NODE = 10),
                m = (i.DOCUMENT_FRAGMENT_NODE = 11),
                g = (i.NOTATION_NODE = 12),
                y = {},
                v = {},
                _ =
                    ((y.INDEX_SIZE_ERR = ((v[1] = "Index size error"), 1)),
                    (y.DOMSTRING_SIZE_ERR = ((v[2] = "DOMString size error"), 2)),
                    (y.HIERARCHY_REQUEST_ERR = ((v[3] = "Hierarchy request error"), 3))),
                w =
                    ((y.WRONG_DOCUMENT_ERR = ((v[4] = "Wrong document"), 4)),
                    (y.INVALID_CHARACTER_ERR = ((v[5] = "Invalid character"), 5)),
                    (y.NO_DATA_ALLOWED_ERR = ((v[6] = "No data allowed"), 6)),
                    (y.NO_MODIFICATION_ALLOWED_ERR = ((v[7] = "No modification allowed"), 7)),
                    (y.NOT_FOUND_ERR = ((v[8] = "Not found"), 8))),
                b = ((y.NOT_SUPPORTED_ERR = ((v[9] = "Not supported"), 9)), (y.INUSE_ATTRIBUTE_ERR = ((v[10] = "Attribute in use"), 10)));
            (y.INVALID_STATE_ERR = ((v[11] = "Invalid state"), 11)),
                (y.SYNTAX_ERR = ((v[12] = "Syntax error"), 12)),
                (y.INVALID_MODIFICATION_ERR = ((v[13] = "Invalid modification"), 13)),
                (y.NAMESPACE_ERR = ((v[14] = "Invalid namespace"), 14)),
                (y.INVALID_ACCESS_ERR = ((v[15] = "Invalid access"), 15));
            function k(t, e) {
                if (e instanceof Error) var r = e;
                else (r = this), Error.call(this, v[t]), (this.message = v[t]), Error.captureStackTrace && Error.captureStackTrace(this, k);
                return (r.code = t), e && (this.message = this.message + ": " + e), r;
            }
            function x() {}
            function E(t, e) {
                (this._node = t), (this._refresh = e), S(this);
            }
            function S(t) {
                var e = t._node._inc || t._node.ownerDocument._inc;
                if (t._inc != e) {
                    var n = t._refresh(t._node);
                    et(t, "length", n.length), r(n, t), (t._inc = e);
                }
            }
            function A() {}
            function T(t, e) {
                for (var r = t.length; r--; ) if (t[r] === e) return r;
            }
            function C(t, e, r, n) {
                if ((n ? (e[T(e, n)] = r) : (e[e.length++] = r), t)) {
                    r.ownerElement = t;
                    var i = t.ownerDocument;
                    i &&
                        (n && P(i, t, n),
                        (function (t, e, r) {
                            t && t._inc++, "http://www.w3.org/2000/xmlns/" == r.namespaceURI && (e._nsMap[r.prefix ? r.localName : ""] = r.value);
                        })(i, t, r));
                }
            }
            function N(t, e, r) {
                var n = T(e, r);
                if (!(n >= 0)) throw k(w, new Error(t.tagName + "@" + r));
                for (var i = e.length - 1; n < i; ) e[n] = e[++n];
                if (((e.length = i), t)) {
                    var o = t.ownerDocument;
                    o && (P(o, t, r), (r.ownerElement = null));
                }
            }
            function I(t) {
                if (((this._features = {}), t)) for (var e in t) this._features = t[e];
            }
            function O() {}
            function R(t) {
                return ("<" == t ? "&lt;" : ">" == t && "&gt;") || ("&" == t && "&amp;") || ('"' == t && "&quot;") || "&#" + t.charCodeAt() + ";";
            }
            function D(t, e) {
                if (e(t)) return !0;
                if ((t = t.firstChild))
                    do {
                        if (D(t, e)) return !0;
                    } while ((t = t.nextSibling));
            }
            function z() {}
            function P(t, e, r, n) {
                t && t._inc++, "http://www.w3.org/2000/xmlns/" == r.namespaceURI && delete e._nsMap[r.prefix ? r.localName : ""];
            }
            function B(t, e, r) {
                if (t && t._inc) {
                    t._inc++;
                    var n = e.childNodes;
                    if (r) n[n.length++] = r;
                    else {
                        for (var i = e.firstChild, o = 0; i; ) (n[o++] = i), (i = i.nextSibling);
                        n.length = o;
                    }
                }
            }
            function U(t, e) {
                var r = e.previousSibling,
                    n = e.nextSibling;
                return r ? (r.nextSibling = n) : (t.firstChild = n), n ? (n.previousSibling = r) : (t.lastChild = r), B(t.ownerDocument, t), e;
            }
            function F(t, e, r) {
                var n = e.parentNode;
                if ((n && n.removeChild(e), e.nodeType === m)) {
                    var i = e.firstChild;
                    if (null == i) return e;
                    var o = e.lastChild;
                } else i = o = e;
                var a = r ? r.previousSibling : t.lastChild;
                (i.previousSibling = a),
                    (o.nextSibling = r),
                    a ? (a.nextSibling = i) : (t.firstChild = i),
                    null == r ? (t.lastChild = o) : (r.previousSibling = o);
                do {
                    i.parentNode = t;
                } while (i !== o && (i = i.nextSibling));
                return B(t.ownerDocument || t, t), e.nodeType == m && (e.firstChild = e.lastChild = null), e;
            }
            function L() {
                this._nsMap = {};
            }
            function M() {}
            function j() {}
            function Z() {}
            function W() {}
            function Y() {}
            function H() {}
            function G() {}
            function q() {}
            function X() {}
            function V() {}
            function $() {}
            function K() {}
            function J(t, e) {
                var r = [],
                    n = (9 == this.nodeType && this.documentElement) || this,
                    i = n.prefix,
                    o = n.namespaceURI;
                if (o && null == i && null == (i = n.lookupPrefix(o))) var a = [{ namespace: o, prefix: null }];
                return tt(this, r, t, e, a), r.join("");
            }
            function Q(t, e, r) {
                var n = t.prefix || "",
                    i = t.namespaceURI;
                if (!n && !i) return !1;
                if (("xml" === n && "http://www.w3.org/XML/1998/namespace" === i) || "http://www.w3.org/2000/xmlns/" == i) return !1;
                for (var o = r.length; o--; ) {
                    var a = r[o];
                    if (a.prefix == n) return a.namespace != i;
                }
                return !0;
            }
            function tt(t, e, r, n, i) {
                if (n) {
                    if (!(t = n(t))) return;
                    if ("string" == typeof t) return void e.push(t);
                }
                switch (t.nodeType) {
                    case o:
                        i || (i = []);
                        i.length;
                        var c = t.attributes,
                            g = c.length,
                            y = t.firstChild,
                            v = t.tagName;
                        (r = "http://www.w3.org/1999/xhtml" === t.namespaceURI || r), e.push("<", v);
                        for (var _ = 0; _ < g; _++) {
                            "xmlns" == (w = c.item(_)).prefix
                                ? i.push({ prefix: w.localName, namespace: w.value })
                                : "xmlns" == w.nodeName && i.push({ prefix: "", namespace: w.value });
                        }
                        for (_ = 0; _ < g; _++) {
                            var w;
                            if (Q((w = c.item(_)), 0, i)) {
                                var b = w.prefix || "",
                                    k = w.namespaceURI,
                                    x = b ? " xmlns:" + b : " xmlns";
                                e.push(x, '="', k, '"'), i.push({ prefix: b, namespace: k });
                            }
                            tt(w, e, r, n, i);
                        }
                        if (Q(t, 0, i)) {
                            b = t.prefix || "";
                            if ((k = t.namespaceURI)) {
                                x = b ? " xmlns:" + b : " xmlns";
                                e.push(x, '="', k, '"'), i.push({ prefix: b, namespace: k });
                            }
                        }
                        if (y || (r && !/^(?:meta|link|img|br|hr|input)$/i.test(v))) {
                            if ((e.push(">"), r && /^script$/i.test(v))) for (; y; ) y.data ? e.push(y.data) : tt(y, e, r, n, i), (y = y.nextSibling);
                            else for (; y; ) tt(y, e, r, n, i), (y = y.nextSibling);
                            e.push("</", v, ">");
                        } else e.push("/>");
                        return;
                    case d:
                    case m:
                        for (y = t.firstChild; y; ) tt(y, e, r, n, i), (y = y.nextSibling);
                        return;
                    case a:
                        return e.push(" ", t.name, '="', t.value.replace(/[<&"]/g, R), '"');
                    case s:
                        return e.push(t.data.replace(/[<&]/g, R).replace(/]]>/g, "]]&gt;"));
                    case u:
                        return e.push("<![CDATA[", t.data, "]]>");
                    case h:
                        return e.push("\x3c!--", t.data, "--\x3e");
                    case p:
                        var E = t.publicId,
                            S = t.systemId;
                        if ((e.push("<!DOCTYPE ", t.name), E)) e.push(" PUBLIC ", E), S && "." != S && e.push(" ", S), e.push(">");
                        else if (S && "." != S) e.push(" SYSTEM ", S, ">");
                        else {
                            var A = t.internalSubset;
                            A && e.push(" [", A, "]"), e.push(">");
                        }
                        return;
                    case f:
                        return e.push("<?", t.target, " ", t.data, "?>");
                    case l:
                        return e.push("&", t.nodeName, ";");
                    default:
                        e.push("??", t.nodeName);
                }
            }
            function et(t, e, r) {
                t[e] = r;
            }
            (k.prototype = Error.prototype),
                r(y, k),
                (x.prototype = {
                    length: 0,
                    item: function (t) {
                        return this[t] || null;
                    },
                    toString: function (t, e) {
                        for (var r = [], n = 0; n < this.length; n++) tt(this[n], r, t, e);
                        return r.join("");
                    },
                }),
                (E.prototype.item = function (t) {
                    return S(this), this[t];
                }),
                n(E, x),
                (A.prototype = {
                    length: 0,
                    item: x.prototype.item,
                    getNamedItem: function (t) {
                        for (var e = this.length; e--; ) {
                            var r = this[e];
                            if (r.nodeName == t) return r;
                        }
                    },
                    setNamedItem: function (t) {
                        var e = t.ownerElement;
                        if (e && e != this._ownerElement) throw new k(b);
                        var r = this.getNamedItem(t.nodeName);
                        return C(this._ownerElement, this, t, r), r;
                    },
                    setNamedItemNS: function (t) {
                        var e,
                            r = t.ownerElement;
                        if (r && r != this._ownerElement) throw new k(b);
                        return (e = this.getNamedItemNS(t.namespaceURI, t.localName)), C(this._ownerElement, this, t, e), e;
                    },
                    removeNamedItem: function (t) {
                        var e = this.getNamedItem(t);
                        return N(this._ownerElement, this, e), e;
                    },
                    removeNamedItemNS: function (t, e) {
                        var r = this.getNamedItemNS(t, e);
                        return N(this._ownerElement, this, r), r;
                    },
                    getNamedItemNS: function (t, e) {
                        for (var r = this.length; r--; ) {
                            var n = this[r];
                            if (n.localName == e && n.namespaceURI == t) return n;
                        }
                        return null;
                    },
                }),
                (I.prototype = {
                    hasFeature: function (t, e) {
                        var r = this._features[t.toLowerCase()];
                        return !(!r || (e && !(e in r)));
                    },
                    createDocument: function (t, e, r) {
                        var n = new z();
                        if (((n.implementation = this), (n.childNodes = new x()), (n.doctype = r), r && n.appendChild(r), e)) {
                            var i = n.createElementNS(t, e);
                            n.appendChild(i);
                        }
                        return n;
                    },
                    createDocumentType: function (t, e, r) {
                        var n = new H();
                        return (n.name = t), (n.nodeName = t), (n.publicId = e), (n.systemId = r), n;
                    },
                }),
                (O.prototype = {
                    firstChild: null,
                    lastChild: null,
                    previousSibling: null,
                    nextSibling: null,
                    attributes: null,
                    parentNode: null,
                    childNodes: null,
                    ownerDocument: null,
                    nodeValue: null,
                    namespaceURI: null,
                    prefix: null,
                    localName: null,
                    insertBefore: function (t, e) {
                        return F(this, t, e);
                    },
                    replaceChild: function (t, e) {
                        this.insertBefore(t, e), e && this.removeChild(e);
                    },
                    removeChild: function (t) {
                        return U(this, t);
                    },
                    appendChild: function (t) {
                        return this.insertBefore(t, null);
                    },
                    hasChildNodes: function () {
                        return null != this.firstChild;
                    },
                    cloneNode: function (t) {
                        return (function t(e, r, n) {
                            var i = new r.constructor();
                            for (var s in r) {
                                var u = r[s];
                                "object" != typeof u && u != i[s] && (i[s] = u);
                            }
                            r.childNodes && (i.childNodes = new x());
                            switch (((i.ownerDocument = e), i.nodeType)) {
                                case o:
                                    var l = r.attributes,
                                        c = (i.attributes = new A()),
                                        f = l.length;
                                    c._ownerElement = i;
                                    for (var h = 0; h < f; h++) i.setAttributeNode(t(e, l.item(h), !0));
                                    break;
                                case a:
                                    n = !0;
                            }
                            if (n) for (var d = r.firstChild; d; ) i.appendChild(t(e, d, n)), (d = d.nextSibling);
                            return i;
                        })(this.ownerDocument || this, this, t);
                    },
                    normalize: function () {
                        for (var t = this.firstChild; t; ) {
                            var e = t.nextSibling;
                            e && e.nodeType == s && t.nodeType == s ? (this.removeChild(e), t.appendData(e.data)) : (t.normalize(), (t = e));
                        }
                    },
                    isSupported: function (t, e) {
                        return this.ownerDocument.implementation.hasFeature(t, e);
                    },
                    hasAttributes: function () {
                        return this.attributes.length > 0;
                    },
                    lookupPrefix: function (t) {
                        for (var e = this; e; ) {
                            var r = e._nsMap;
                            if (r) for (var n in r) if (r[n] == t) return n;
                            e = e.nodeType == a ? e.ownerDocument : e.parentNode;
                        }
                        return null;
                    },
                    lookupNamespaceURI: function (t) {
                        for (var e = this; e; ) {
                            var r = e._nsMap;
                            if (r && t in r) return r[t];
                            e = e.nodeType == a ? e.ownerDocument : e.parentNode;
                        }
                        return null;
                    },
                    isDefaultNamespace: function (t) {
                        return null == this.lookupPrefix(t);
                    },
                }),
                r(i, O),
                r(i, O.prototype),
                (z.prototype = {
                    nodeName: "#document",
                    nodeType: d,
                    doctype: null,
                    documentElement: null,
                    _inc: 1,
                    insertBefore: function (t, e) {
                        if (t.nodeType == m) {
                            for (var r = t.firstChild; r; ) {
                                var n = r.nextSibling;
                                this.insertBefore(r, e), (r = n);
                            }
                            return t;
                        }
                        return null == this.documentElement && t.nodeType == o && (this.documentElement = t), F(this, t, e), (t.ownerDocument = this), t;
                    },
                    removeChild: function (t) {
                        return this.documentElement == t && (this.documentElement = null), U(this, t);
                    },
                    importNode: function (t, e) {
                        return (function t(e, r, n) {
                            var i;
                            switch (r.nodeType) {
                                case o:
                                    (i = r.cloneNode(!1)).ownerDocument = e;
                                case m:
                                    break;
                                case a:
                                    n = !0;
                            }
                            i || (i = r.cloneNode(!1));
                            if (((i.ownerDocument = e), (i.parentNode = null), n))
                                for (var s = r.firstChild; s; ) i.appendChild(t(e, s, n)), (s = s.nextSibling);
                            return i;
                        })(this, t, e);
                    },
                    getElementById: function (t) {
                        var e = null;
                        return (
                            D(this.documentElement, function (r) {
                                if (r.nodeType == o && r.getAttribute("id") == t) return (e = r), !0;
                            }),
                            e
                        );
                    },
                    getElementsByClassName: function (t) {
                        var e = new RegExp("(^|\\s)" + t + "(\\s|$)");
                        return new E(this, function (t) {
                            var r = [];
                            return (
                                D(t.documentElement, function (n) {
                                    n !== t && n.nodeType == o && e.test(n.getAttribute("class")) && r.push(n);
                                }),
                                r
                            );
                        });
                    },
                    createElement: function (t) {
                        var e = new L();
                        return (
                            (e.ownerDocument = this),
                            (e.nodeName = t),
                            (e.tagName = t),
                            (e.childNodes = new x()),
                            ((e.attributes = new A())._ownerElement = e),
                            e
                        );
                    },
                    createDocumentFragment: function () {
                        var t = new V();
                        return (t.ownerDocument = this), (t.childNodes = new x()), t;
                    },
                    createTextNode: function (t) {
                        var e = new Z();
                        return (e.ownerDocument = this), e.appendData(t), e;
                    },
                    createComment: function (t) {
                        var e = new W();
                        return (e.ownerDocument = this), e.appendData(t), e;
                    },
                    createCDATASection: function (t) {
                        var e = new Y();
                        return (e.ownerDocument = this), e.appendData(t), e;
                    },
                    createProcessingInstruction: function (t, e) {
                        var r = new $();
                        return (r.ownerDocument = this), (r.tagName = r.target = t), (r.nodeValue = r.data = e), r;
                    },
                    createAttribute: function (t) {
                        var e = new M();
                        return (e.ownerDocument = this), (e.name = t), (e.nodeName = t), (e.localName = t), (e.specified = !0), e;
                    },
                    createEntityReference: function (t) {
                        var e = new X();
                        return (e.ownerDocument = this), (e.nodeName = t), e;
                    },
                    createElementNS: function (t, e) {
                        var r = new L(),
                            n = e.split(":"),
                            i = (r.attributes = new A());
                        return (
                            (r.childNodes = new x()),
                            (r.ownerDocument = this),
                            (r.nodeName = e),
                            (r.tagName = e),
                            (r.namespaceURI = t),
                            2 == n.length ? ((r.prefix = n[0]), (r.localName = n[1])) : (r.localName = e),
                            (i._ownerElement = r),
                            r
                        );
                    },
                    createAttributeNS: function (t, e) {
                        var r = new M(),
                            n = e.split(":");
                        return (
                            (r.ownerDocument = this),
                            (r.nodeName = e),
                            (r.name = e),
                            (r.namespaceURI = t),
                            (r.specified = !0),
                            2 == n.length ? ((r.prefix = n[0]), (r.localName = n[1])) : (r.localName = e),
                            r
                        );
                    },
                }),
                n(z, O),
                (L.prototype = {
                    nodeType: o,
                    hasAttribute: function (t) {
                        return null != this.getAttributeNode(t);
                    },
                    getAttribute: function (t) {
                        var e = this.getAttributeNode(t);
                        return (e && e.value) || "";
                    },
                    getAttributeNode: function (t) {
                        return this.attributes.getNamedItem(t);
                    },
                    setAttribute: function (t, e) {
                        var r = this.ownerDocument.createAttribute(t);
                        (r.value = r.nodeValue = "" + e), this.setAttributeNode(r);
                    },
                    removeAttribute: function (t) {
                        var e = this.getAttributeNode(t);
                        e && this.removeAttributeNode(e);
                    },
                    appendChild: function (t) {
                        return t.nodeType === m
                            ? this.insertBefore(t, null)
                            : (function (t, e) {
                                  var r = e.parentNode;
                                  if (r) {
                                      var n = t.lastChild;
                                      r.removeChild(e);
                                      n = t.lastChild;
                                  }
                                  return (
                                      (n = t.lastChild),
                                      (e.parentNode = t),
                                      (e.previousSibling = n),
                                      (e.nextSibling = null),
                                      n ? (n.nextSibling = e) : (t.firstChild = e),
                                      (t.lastChild = e),
                                      B(t.ownerDocument, t, e),
                                      e
                                  );
                              })(this, t);
                    },
                    setAttributeNode: function (t) {
                        return this.attributes.setNamedItem(t);
                    },
                    setAttributeNodeNS: function (t) {
                        return this.attributes.setNamedItemNS(t);
                    },
                    removeAttributeNode: function (t) {
                        return this.attributes.removeNamedItem(t.nodeName);
                    },
                    removeAttributeNS: function (t, e) {
                        var r = this.getAttributeNodeNS(t, e);
                        r && this.removeAttributeNode(r);
                    },
                    hasAttributeNS: function (t, e) {
                        return null != this.getAttributeNodeNS(t, e);
                    },
                    getAttributeNS: function (t, e) {
                        var r = this.getAttributeNodeNS(t, e);
                        return (r && r.value) || "";
                    },
                    setAttributeNS: function (t, e, r) {
                        var n = this.ownerDocument.createAttributeNS(t, e);
                        (n.value = n.nodeValue = "" + r), this.setAttributeNode(n);
                    },
                    getAttributeNodeNS: function (t, e) {
                        return this.attributes.getNamedItemNS(t, e);
                    },
                    getElementsByTagName: function (t) {
                        return new E(this, function (e) {
                            var r = [];
                            return (
                                D(e, function (n) {
                                    n === e || n.nodeType != o || ("*" !== t && n.tagName != t) || r.push(n);
                                }),
                                r
                            );
                        });
                    },
                    getElementsByTagNameNS: function (t, e) {
                        return new E(this, function (r) {
                            var n = [];
                            return (
                                D(r, function (i) {
                                    i === r || i.nodeType !== o || ("*" !== t && i.namespaceURI !== t) || ("*" !== e && i.localName != e) || n.push(i);
                                }),
                                n
                            );
                        });
                    },
                }),
                (z.prototype.getElementsByTagName = L.prototype.getElementsByTagName),
                (z.prototype.getElementsByTagNameNS = L.prototype.getElementsByTagNameNS),
                n(L, O),
                (M.prototype.nodeType = a),
                n(M, O),
                (j.prototype = {
                    data: "",
                    substringData: function (t, e) {
                        return this.data.substring(t, t + e);
                    },
                    appendData: function (t) {
                        (t = this.data + t), (this.nodeValue = this.data = t), (this.length = t.length);
                    },
                    insertData: function (t, e) {
                        this.replaceData(t, 0, e);
                    },
                    appendChild: function (t) {
                        throw new Error(v[_]);
                    },
                    deleteData: function (t, e) {
                        this.replaceData(t, e, "");
                    },
                    replaceData: function (t, e, r) {
                        (r = this.data.substring(0, t) + r + this.data.substring(t + e)), (this.nodeValue = this.data = r), (this.length = r.length);
                    },
                }),
                n(j, O),
                (Z.prototype = {
                    nodeName: "#text",
                    nodeType: s,
                    splitText: function (t) {
                        var e = this.data,
                            r = e.substring(t);
                        (e = e.substring(0, t)), (this.data = this.nodeValue = e), (this.length = e.length);
                        var n = this.ownerDocument.createTextNode(r);
                        return this.parentNode && this.parentNode.insertBefore(n, this.nextSibling), n;
                    },
                }),
                n(Z, j),
                (W.prototype = { nodeName: "#comment", nodeType: h }),
                n(W, j),
                (Y.prototype = { nodeName: "#cdata-section", nodeType: u }),
                n(Y, j),
                (H.prototype.nodeType = p),
                n(H, O),
                (G.prototype.nodeType = g),
                n(G, O),
                (q.prototype.nodeType = c),
                n(q, O),
                (X.prototype.nodeType = l),
                n(X, O),
                (V.prototype.nodeName = "#document-fragment"),
                (V.prototype.nodeType = m),
                n(V, O),
                ($.prototype.nodeType = f),
                n($, O),
                (K.prototype.serializeToString = function (t, e, r) {
                    return J.call(t, e, r);
                }),
                (O.prototype.toString = J);
            try {
                if (Object.defineProperty) {
                    Object.defineProperty(E.prototype, "length", {
                        get: function () {
                            return S(this), this.$$length;
                        },
                    }),
                        Object.defineProperty(O.prototype, "textContent", {
                            get: function () {
                                return (function t(e) {
                                    switch (e.nodeType) {
                                        case o:
                                        case m:
                                            var r = [];
                                            for (e = e.firstChild; e; ) 7 !== e.nodeType && 8 !== e.nodeType && r.push(t(e)), (e = e.nextSibling);
                                            return r.join("");
                                        default:
                                            return e.nodeValue;
                                    }
                                })(this);
                            },
                            set: function (t) {
                                switch (this.nodeType) {
                                    case o:
                                    case m:
                                        for (; this.firstChild; ) this.removeChild(this.firstChild);
                                        (t || String(t)) && this.appendChild(this.ownerDocument.createTextNode(t));
                                        break;
                                    default:
                                        (this.data = t), (this.value = t), (this.nodeValue = t);
                                }
                            },
                        }),
                        (et = function (t, e, r) {
                            t["$$" + e] = r;
                        });
                }
            } catch (t) {}
            (e.Node = O), (e.DOMException = k), (e.DOMImplementation = I), (e.XMLSerializer = K);
        },
        function (t, e, r) {
            var n = r(7);
            (t.exports = function (t, e, r) {
                return (e = n(e)) in t ? Object.defineProperty(t, e, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : (t[e] = r), t;
            }),
                (t.exports.__esModule = !0),
                (t.exports.default = t.exports);
        },
        function (t, e, r) {
            (function (e, n, i, o) {
                t.exports = (function t(e, n, i) {
                    function o(s, u) {
                        if (!n[s]) {
                            if (!e[s]) {
                                if (!u && r(15)) return (void 0)(s, !0);
                                if (a) return a(s, !0);
                                var l = new Error("Cannot find module '" + s + "'");
                                throw ((l.code = "MODULE_NOT_FOUND"), l);
                            }
                            var c = (n[s] = { exports: {} });
                            e[s][0].call(
                                c.exports,
                                function (t) {
                                    return o(e[s][1][t] || t);
                                },
                                c,
                                c.exports,
                                t,
                                e,
                                n,
                                i
                            );
                        }
                        return n[s].exports;
                    }
                    for (var a = !1, s = 0; s < i.length; s++) o(i[s]);
                    return o;
                })(
                    {
                        1: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./utils"),
                                    i = t("./support"),
                                    o = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
                                (r.encode = function (t) {
                                    for (var e, r, i, a, s, u, l, c = [], f = 0, h = t.length, d = h, p = "string" !== n.getTypeOf(t); f < t.length; )
                                        (d = h - f),
                                            (i = p
                                                ? ((e = t[f++]), (r = f < h ? t[f++] : 0), f < h ? t[f++] : 0)
                                                : ((e = t.charCodeAt(f++)), (r = f < h ? t.charCodeAt(f++) : 0), f < h ? t.charCodeAt(f++) : 0)),
                                            (a = e >> 2),
                                            (s = ((3 & e) << 4) | (r >> 4)),
                                            (u = 1 < d ? ((15 & r) << 2) | (i >> 6) : 64),
                                            (l = 2 < d ? 63 & i : 64),
                                            c.push(o.charAt(a) + o.charAt(s) + o.charAt(u) + o.charAt(l));
                                    return c.join("");
                                }),
                                    (r.decode = function (t) {
                                        var e,
                                            r,
                                            n,
                                            a,
                                            s,
                                            u,
                                            l = 0,
                                            c = 0,
                                            f = "data:";
                                        if (t.substr(0, f.length) === f) throw new Error("Invalid base64 input, it looks like a data url.");
                                        var h,
                                            d = (3 * (t = t.replace(/[^A-Za-z0-9+/=]/g, "")).length) / 4;
                                        if ((t.charAt(t.length - 1) === o.charAt(64) && d--, t.charAt(t.length - 2) === o.charAt(64) && d--, d % 1 != 0))
                                            throw new Error("Invalid base64 input, bad content length.");
                                        for (h = i.uint8array ? new Uint8Array(0 | d) : new Array(0 | d); l < t.length; )
                                            (e = (o.indexOf(t.charAt(l++)) << 2) | ((a = o.indexOf(t.charAt(l++))) >> 4)),
                                                (r = ((15 & a) << 4) | ((s = o.indexOf(t.charAt(l++))) >> 2)),
                                                (n = ((3 & s) << 6) | (u = o.indexOf(t.charAt(l++)))),
                                                (h[c++] = e),
                                                64 !== s && (h[c++] = r),
                                                64 !== u && (h[c++] = n);
                                        return h;
                                    });
                            },
                            { "./support": 30, "./utils": 32 },
                        ],
                        2: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./external"),
                                    i = t("./stream/DataWorker"),
                                    o = t("./stream/Crc32Probe"),
                                    a = t("./stream/DataLengthProbe");
                                function s(t, e, r, n, i) {
                                    (this.compressedSize = t),
                                        (this.uncompressedSize = e),
                                        (this.crc32 = r),
                                        (this.compression = n),
                                        (this.compressedContent = i);
                                }
                                (s.prototype = {
                                    getContentWorker: function () {
                                        var t = new i(n.Promise.resolve(this.compressedContent))
                                                .pipe(this.compression.uncompressWorker())
                                                .pipe(new a("data_length")),
                                            e = this;
                                        return (
                                            t.on("end", function () {
                                                if (this.streamInfo.data_length !== e.uncompressedSize)
                                                    throw new Error("Bug : uncompressed data size mismatch");
                                            }),
                                            t
                                        );
                                    },
                                    getCompressedWorker: function () {
                                        return new i(n.Promise.resolve(this.compressedContent))
                                            .withStreamInfo("compressedSize", this.compressedSize)
                                            .withStreamInfo("uncompressedSize", this.uncompressedSize)
                                            .withStreamInfo("crc32", this.crc32)
                                            .withStreamInfo("compression", this.compression);
                                    },
                                }),
                                    (s.createWorkerFrom = function (t, e, r) {
                                        return t
                                            .pipe(new o())
                                            .pipe(new a("uncompressedSize"))
                                            .pipe(e.compressWorker(r))
                                            .pipe(new a("compressedSize"))
                                            .withStreamInfo("compression", e);
                                    }),
                                    (e.exports = s);
                            },
                            { "./external": 6, "./stream/Crc32Probe": 25, "./stream/DataLengthProbe": 26, "./stream/DataWorker": 27 },
                        ],
                        3: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./stream/GenericWorker");
                                (r.STORE = {
                                    magic: "\0\0",
                                    compressWorker: function () {
                                        return new n("STORE compression");
                                    },
                                    uncompressWorker: function () {
                                        return new n("STORE decompression");
                                    },
                                }),
                                    (r.DEFLATE = t("./flate"));
                            },
                            { "./flate": 7, "./stream/GenericWorker": 28 },
                        ],
                        4: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./utils"),
                                    i = (function () {
                                        for (var t, e = [], r = 0; r < 256; r++) {
                                            t = r;
                                            for (var n = 0; n < 8; n++) t = 1 & t ? 3988292384 ^ (t >>> 1) : t >>> 1;
                                            e[r] = t;
                                        }
                                        return e;
                                    })();
                                e.exports = function (t, e) {
                                    return void 0 !== t && t.length
                                        ? "string" !== n.getTypeOf(t)
                                            ? (function (t, e, r, n) {
                                                  var o = i,
                                                      a = 0 + r;
                                                  t ^= -1;
                                                  for (var s = 0; s < a; s++) t = (t >>> 8) ^ o[255 & (t ^ e[s])];
                                                  return -1 ^ t;
                                              })(0 | e, t, t.length)
                                            : (function (t, e, r, n) {
                                                  var o = i,
                                                      a = 0 + r;
                                                  t ^= -1;
                                                  for (var s = 0; s < a; s++) t = (t >>> 8) ^ o[255 & (t ^ e.charCodeAt(s))];
                                                  return -1 ^ t;
                                              })(0 | e, t, t.length)
                                        : 0;
                                };
                            },
                            { "./utils": 32 },
                        ],
                        5: [
                            function (t, e, r) {
                                "use strict";
                                (r.base64 = !1),
                                    (r.binary = !1),
                                    (r.dir = !1),
                                    (r.createFolders = !0),
                                    (r.date = null),
                                    (r.compression = null),
                                    (r.compressionOptions = null),
                                    (r.comment = null),
                                    (r.unixPermissions = null),
                                    (r.dosPermissions = null);
                            },
                            {},
                        ],
                        6: [
                            function (t, e, r) {
                                "use strict";
                                var n;
                                (n = "undefined" != typeof Promise ? Promise : t("lie")), (e.exports = { Promise: n });
                            },
                            { lie: 37 },
                        ],
                        7: [
                            function (t, e, r) {
                                "use strict";
                                var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Uint32Array,
                                    i = t("pako"),
                                    o = t("./utils"),
                                    a = t("./stream/GenericWorker"),
                                    s = n ? "uint8array" : "array";
                                function u(t, e) {
                                    a.call(this, "FlateWorker/" + t), (this._pako = null), (this._pakoAction = t), (this._pakoOptions = e), (this.meta = {});
                                }
                                (r.magic = "\b\0"),
                                    o.inherits(u, a),
                                    (u.prototype.processChunk = function (t) {
                                        (this.meta = t.meta), null === this._pako && this._createPako(), this._pako.push(o.transformTo(s, t.data), !1);
                                    }),
                                    (u.prototype.flush = function () {
                                        a.prototype.flush.call(this), null === this._pako && this._createPako(), this._pako.push([], !0);
                                    }),
                                    (u.prototype.cleanUp = function () {
                                        a.prototype.cleanUp.call(this), (this._pako = null);
                                    }),
                                    (u.prototype._createPako = function () {
                                        this._pako = new i[this._pakoAction]({ raw: !0, level: this._pakoOptions.level || -1 });
                                        var t = this;
                                        this._pako.onData = function (e) {
                                            t.push({ data: e, meta: t.meta });
                                        };
                                    }),
                                    (r.compressWorker = function (t) {
                                        return new u("Deflate", t);
                                    }),
                                    (r.uncompressWorker = function () {
                                        return new u("Inflate", {});
                                    });
                            },
                            { "./stream/GenericWorker": 28, "./utils": 32, pako: 38 },
                        ],
                        8: [
                            function (t, e, r) {
                                "use strict";
                                function n(t, e) {
                                    var r,
                                        n = "";
                                    for (r = 0; r < e; r++) (n += String.fromCharCode(255 & t)), (t >>>= 8);
                                    return n;
                                }
                                function i(t, e, r, i, a, c) {
                                    var f,
                                        h,
                                        d = t.file,
                                        p = t.compression,
                                        m = c !== s.utf8encode,
                                        g = o.transformTo("string", c(d.name)),
                                        y = o.transformTo("string", s.utf8encode(d.name)),
                                        v = d.comment,
                                        _ = o.transformTo("string", c(v)),
                                        w = o.transformTo("string", s.utf8encode(v)),
                                        b = y.length !== d.name.length,
                                        k = w.length !== v.length,
                                        x = "",
                                        E = "",
                                        S = "",
                                        A = d.dir,
                                        T = d.date,
                                        C = { crc32: 0, compressedSize: 0, uncompressedSize: 0 };
                                    (e && !r) || ((C.crc32 = t.crc32), (C.compressedSize = t.compressedSize), (C.uncompressedSize = t.uncompressedSize));
                                    var N = 0;
                                    e && (N |= 8), m || (!b && !k) || (N |= 2048);
                                    var I = 0,
                                        O = 0;
                                    A && (I |= 16),
                                        "UNIX" === a
                                            ? ((O = 798),
                                              (I |= (function (t, e) {
                                                  var r = t;
                                                  return t || (r = e ? 16893 : 33204), (65535 & r) << 16;
                                              })(d.unixPermissions, A)))
                                            : ((O = 20),
                                              (I |= (function (t) {
                                                  return 63 & (t || 0);
                                              })(d.dosPermissions))),
                                        (f = T.getUTCHours()),
                                        (f <<= 6),
                                        (f |= T.getUTCMinutes()),
                                        (f <<= 5),
                                        (f |= T.getUTCSeconds() / 2),
                                        (h = T.getUTCFullYear() - 1980),
                                        (h <<= 4),
                                        (h |= T.getUTCMonth() + 1),
                                        (h <<= 5),
                                        (h |= T.getUTCDate()),
                                        b && ((E = n(1, 1) + n(u(g), 4) + y), (x += "up" + n(E.length, 2) + E)),
                                        k && ((S = n(1, 1) + n(u(_), 4) + w), (x += "uc" + n(S.length, 2) + S));
                                    var R = "";
                                    return (
                                        (R += "\n\0"),
                                        (R += n(N, 2)),
                                        (R += p.magic),
                                        (R += n(f, 2)),
                                        (R += n(h, 2)),
                                        (R += n(C.crc32, 4)),
                                        (R += n(C.compressedSize, 4)),
                                        (R += n(C.uncompressedSize, 4)),
                                        (R += n(g.length, 2)),
                                        (R += n(x.length, 2)),
                                        {
                                            fileRecord: l.LOCAL_FILE_HEADER + R + g + x,
                                            dirRecord: l.CENTRAL_FILE_HEADER + n(O, 2) + R + n(_.length, 2) + "\0\0\0\0" + n(I, 4) + n(i, 4) + g + x + _,
                                        }
                                    );
                                }
                                var o = t("../utils"),
                                    a = t("../stream/GenericWorker"),
                                    s = t("../utf8"),
                                    u = t("../crc32"),
                                    l = t("../signature");
                                function c(t, e, r, n) {
                                    a.call(this, "ZipFileWorker"),
                                        (this.bytesWritten = 0),
                                        (this.zipComment = e),
                                        (this.zipPlatform = r),
                                        (this.encodeFileName = n),
                                        (this.streamFiles = t),
                                        (this.accumulate = !1),
                                        (this.contentBuffer = []),
                                        (this.dirRecords = []),
                                        (this.currentSourceOffset = 0),
                                        (this.entriesCount = 0),
                                        (this.currentFile = null),
                                        (this._sources = []);
                                }
                                o.inherits(c, a),
                                    (c.prototype.push = function (t) {
                                        var e = t.meta.percent || 0,
                                            r = this.entriesCount,
                                            n = this._sources.length;
                                        this.accumulate
                                            ? this.contentBuffer.push(t)
                                            : ((this.bytesWritten += t.data.length),
                                              a.prototype.push.call(this, {
                                                  data: t.data,
                                                  meta: { currentFile: this.currentFile, percent: r ? (e + 100 * (r - n - 1)) / r : 100 },
                                              }));
                                    }),
                                    (c.prototype.openedSource = function (t) {
                                        (this.currentSourceOffset = this.bytesWritten), (this.currentFile = t.file.name);
                                        var e = this.streamFiles && !t.file.dir;
                                        if (e) {
                                            var r = i(t, e, !1, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
                                            this.push({ data: r.fileRecord, meta: { percent: 0 } });
                                        } else this.accumulate = !0;
                                    }),
                                    (c.prototype.closedSource = function (t) {
                                        this.accumulate = !1;
                                        var e = this.streamFiles && !t.file.dir,
                                            r = i(t, e, !0, this.currentSourceOffset, this.zipPlatform, this.encodeFileName);
                                        if ((this.dirRecords.push(r.dirRecord), e))
                                            this.push({
                                                data: (function (t) {
                                                    return l.DATA_DESCRIPTOR + n(t.crc32, 4) + n(t.compressedSize, 4) + n(t.uncompressedSize, 4);
                                                })(t),
                                                meta: { percent: 100 },
                                            });
                                        else
                                            for (this.push({ data: r.fileRecord, meta: { percent: 0 } }); this.contentBuffer.length; )
                                                this.push(this.contentBuffer.shift());
                                        this.currentFile = null;
                                    }),
                                    (c.prototype.flush = function () {
                                        for (var t = this.bytesWritten, e = 0; e < this.dirRecords.length; e++)
                                            this.push({ data: this.dirRecords[e], meta: { percent: 100 } });
                                        var r = this.bytesWritten - t,
                                            i = (function (t, e, r, i, a) {
                                                var s = o.transformTo("string", a(i));
                                                return l.CENTRAL_DIRECTORY_END + "\0\0\0\0" + n(t, 2) + n(t, 2) + n(e, 4) + n(r, 4) + n(s.length, 2) + s;
                                            })(this.dirRecords.length, r, t, this.zipComment, this.encodeFileName);
                                        this.push({ data: i, meta: { percent: 100 } });
                                    }),
                                    (c.prototype.prepareNextSource = function () {
                                        (this.previous = this._sources.shift()),
                                            this.openedSource(this.previous.streamInfo),
                                            this.isPaused ? this.previous.pause() : this.previous.resume();
                                    }),
                                    (c.prototype.registerPrevious = function (t) {
                                        this._sources.push(t);
                                        var e = this;
                                        return (
                                            t.on("data", function (t) {
                                                e.processChunk(t);
                                            }),
                                            t.on("end", function () {
                                                e.closedSource(e.previous.streamInfo), e._sources.length ? e.prepareNextSource() : e.end();
                                            }),
                                            t.on("error", function (t) {
                                                e.error(t);
                                            }),
                                            this
                                        );
                                    }),
                                    (c.prototype.resume = function () {
                                        return (
                                            !!a.prototype.resume.call(this) &&
                                            (!this.previous && this._sources.length
                                                ? (this.prepareNextSource(), !0)
                                                : this.previous || this._sources.length || this.generatedError
                                                ? void 0
                                                : (this.end(), !0))
                                        );
                                    }),
                                    (c.prototype.error = function (t) {
                                        var e = this._sources;
                                        if (!a.prototype.error.call(this, t)) return !1;
                                        for (var r = 0; r < e.length; r++)
                                            try {
                                                e[r].error(t);
                                            } catch (t) {}
                                        return !0;
                                    }),
                                    (c.prototype.lock = function () {
                                        a.prototype.lock.call(this);
                                        for (var t = this._sources, e = 0; e < t.length; e++) t[e].lock();
                                    }),
                                    (e.exports = c);
                            },
                            { "../crc32": 4, "../signature": 23, "../stream/GenericWorker": 28, "../utf8": 31, "../utils": 32 },
                        ],
                        9: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../compressions"),
                                    i = t("./ZipFileWorker");
                                r.generateWorker = function (t, e, r) {
                                    var o = new i(e.streamFiles, r, e.platform, e.encodeFileName),
                                        a = 0;
                                    try {
                                        t.forEach(function (t, r) {
                                            a++;
                                            var i = (function (t, e) {
                                                    var r = t || e,
                                                        i = n[r];
                                                    if (!i) throw new Error(r + " is not a valid compression method !");
                                                    return i;
                                                })(r.options.compression, e.compression),
                                                s = r.options.compressionOptions || e.compressionOptions || {},
                                                u = r.dir,
                                                l = r.date;
                                            r._compressWorker(i, s)
                                                .withStreamInfo("file", {
                                                    name: t,
                                                    dir: u,
                                                    date: l,
                                                    comment: r.comment || "",
                                                    unixPermissions: r.unixPermissions,
                                                    dosPermissions: r.dosPermissions,
                                                })
                                                .pipe(o);
                                        }),
                                            (o.entriesCount = a);
                                    } catch (t) {
                                        o.error(t);
                                    }
                                    return o;
                                };
                            },
                            { "../compressions": 3, "./ZipFileWorker": 8 },
                        ],
                        10: [
                            function (t, e, r) {
                                "use strict";
                                function n() {
                                    if (!(this instanceof n)) return new n();
                                    if (arguments.length)
                                        throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");
                                    (this.files = Object.create(null)),
                                        (this.comment = null),
                                        (this.root = ""),
                                        (this.clone = function () {
                                            var t = new n();
                                            for (var e in this) "function" != typeof this[e] && (t[e] = this[e]);
                                            return t;
                                        });
                                }
                                ((n.prototype = t("./object")).loadAsync = t("./load")),
                                    (n.support = t("./support")),
                                    (n.defaults = t("./defaults")),
                                    (n.version = "3.10.1"),
                                    (n.loadAsync = function (t, e) {
                                        return new n().loadAsync(t, e);
                                    }),
                                    (n.external = t("./external")),
                                    (e.exports = n);
                            },
                            { "./defaults": 5, "./external": 6, "./load": 11, "./object": 15, "./support": 30 },
                        ],
                        11: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./utils"),
                                    i = t("./external"),
                                    o = t("./utf8"),
                                    a = t("./zipEntries"),
                                    s = t("./stream/Crc32Probe"),
                                    u = t("./nodejsUtils");
                                function l(t) {
                                    return new i.Promise(function (e, r) {
                                        var n = t.decompressed.getContentWorker().pipe(new s());
                                        n.on("error", function (t) {
                                            r(t);
                                        })
                                            .on("end", function () {
                                                n.streamInfo.crc32 !== t.decompressed.crc32 ? r(new Error("Corrupted zip : CRC32 mismatch")) : e();
                                            })
                                            .resume();
                                    });
                                }
                                e.exports = function (t, e) {
                                    var r = this;
                                    return (
                                        (e = n.extend(e || {}, {
                                            base64: !1,
                                            checkCRC32: !1,
                                            optimizedBinaryString: !1,
                                            createFolders: !1,
                                            decodeFileName: o.utf8decode,
                                        })),
                                        u.isNode && u.isStream(t)
                                            ? i.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file."))
                                            : n
                                                  .prepareContent("the loaded zip file", t, !0, e.optimizedBinaryString, e.base64)
                                                  .then(function (t) {
                                                      var r = new a(e);
                                                      return r.load(t), r;
                                                  })
                                                  .then(function (t) {
                                                      var r = [i.Promise.resolve(t)],
                                                          n = t.files;
                                                      if (e.checkCRC32) for (var o = 0; o < n.length; o++) r.push(l(n[o]));
                                                      return i.Promise.all(r);
                                                  })
                                                  .then(function (t) {
                                                      for (var i = t.shift(), o = i.files, a = 0; a < o.length; a++) {
                                                          var s = o[a],
                                                              u = s.fileNameStr,
                                                              l = n.resolve(s.fileNameStr);
                                                          r.file(l, s.decompressed, {
                                                              binary: !0,
                                                              optimizedBinaryString: !0,
                                                              date: s.date,
                                                              dir: s.dir,
                                                              comment: s.fileCommentStr.length ? s.fileCommentStr : null,
                                                              unixPermissions: s.unixPermissions,
                                                              dosPermissions: s.dosPermissions,
                                                              createFolders: e.createFolders,
                                                          }),
                                                              s.dir || (r.file(l).unsafeOriginalName = u);
                                                      }
                                                      return i.zipComment.length && (r.comment = i.zipComment), r;
                                                  })
                                    );
                                };
                            },
                            { "./external": 6, "./nodejsUtils": 14, "./stream/Crc32Probe": 25, "./utf8": 31, "./utils": 32, "./zipEntries": 33 },
                        ],
                        12: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../utils"),
                                    i = t("../stream/GenericWorker");
                                function o(t, e) {
                                    i.call(this, "Nodejs stream input adapter for " + t), (this._upstreamEnded = !1), this._bindStream(e);
                                }
                                n.inherits(o, i),
                                    (o.prototype._bindStream = function (t) {
                                        var e = this;
                                        (this._stream = t).pause(),
                                            t
                                                .on("data", function (t) {
                                                    e.push({ data: t, meta: { percent: 0 } });
                                                })
                                                .on("error", function (t) {
                                                    e.isPaused ? (this.generatedError = t) : e.error(t);
                                                })
                                                .on("end", function () {
                                                    e.isPaused ? (e._upstreamEnded = !0) : e.end();
                                                });
                                    }),
                                    (o.prototype.pause = function () {
                                        return !!i.prototype.pause.call(this) && (this._stream.pause(), !0);
                                    }),
                                    (o.prototype.resume = function () {
                                        return !!i.prototype.resume.call(this) && (this._upstreamEnded ? this.end() : this._stream.resume(), !0);
                                    }),
                                    (e.exports = o);
                            },
                            { "../stream/GenericWorker": 28, "../utils": 32 },
                        ],
                        13: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("readable-stream").Readable;
                                function i(t, e, r) {
                                    n.call(this, e), (this._helper = t);
                                    var i = this;
                                    t.on("data", function (t, e) {
                                        i.push(t) || i._helper.pause(), r && r(e);
                                    })
                                        .on("error", function (t) {
                                            i.emit("error", t);
                                        })
                                        .on("end", function () {
                                            i.push(null);
                                        });
                                }
                                t("../utils").inherits(i, n),
                                    (i.prototype._read = function () {
                                        this._helper.resume();
                                    }),
                                    (e.exports = i);
                            },
                            { "../utils": 32, "readable-stream": 16 },
                        ],
                        14: [
                            function (t, r, n) {
                                "use strict";
                                r.exports = {
                                    isNode: void 0 !== e,
                                    newBufferFrom: function (t, r) {
                                        if (e.from && e.from !== Uint8Array.from) return e.from(t, r);
                                        if ("number" == typeof t) throw new Error('The "data" argument must not be a number');
                                        return new e(t, r);
                                    },
                                    allocBuffer: function (t) {
                                        if (e.alloc) return e.alloc(t);
                                        var r = new e(t);
                                        return r.fill(0), r;
                                    },
                                    isBuffer: function (t) {
                                        return e.isBuffer(t);
                                    },
                                    isStream: function (t) {
                                        return t && "function" == typeof t.on && "function" == typeof t.pause && "function" == typeof t.resume;
                                    },
                                };
                            },
                            {},
                        ],
                        15: [
                            function (t, e, r) {
                                "use strict";
                                function n(t, e, r) {
                                    var n,
                                        i = o.getTypeOf(e),
                                        s = o.extend(r || {}, u);
                                    (s.date = s.date || new Date()),
                                        null !== s.compression && (s.compression = s.compression.toUpperCase()),
                                        "string" == typeof s.unixPermissions && (s.unixPermissions = parseInt(s.unixPermissions, 8)),
                                        s.unixPermissions && 16384 & s.unixPermissions && (s.dir = !0),
                                        s.dosPermissions && 16 & s.dosPermissions && (s.dir = !0),
                                        s.dir && (t = m(t)),
                                        s.createFolders && (n = p(t)) && g.call(this, n, !0);
                                    var f,
                                        y = "string" === i && !1 === s.binary && !1 === s.base64;
                                    (r && void 0 !== r.binary) || (s.binary = !y),
                                        ((e instanceof l && 0 === e.uncompressedSize) || s.dir || !e || 0 === e.length) &&
                                            ((s.base64 = !1), (s.binary = !0), (e = ""), (s.compression = "STORE"), (i = "string")),
                                        (f =
                                            e instanceof l || e instanceof a
                                                ? e
                                                : h.isNode && h.isStream(e)
                                                ? new d(t, e)
                                                : o.prepareContent(t, e, s.binary, s.optimizedBinaryString, s.base64));
                                    var v = new c(t, f, s);
                                    this.files[t] = v;
                                }
                                var i = t("./utf8"),
                                    o = t("./utils"),
                                    a = t("./stream/GenericWorker"),
                                    s = t("./stream/StreamHelper"),
                                    u = t("./defaults"),
                                    l = t("./compressedObject"),
                                    c = t("./zipObject"),
                                    f = t("./generate"),
                                    h = t("./nodejsUtils"),
                                    d = t("./nodejs/NodejsStreamInputAdapter"),
                                    p = function (t) {
                                        "/" === t.slice(-1) && (t = t.substring(0, t.length - 1));
                                        var e = t.lastIndexOf("/");
                                        return 0 < e ? t.substring(0, e) : "";
                                    },
                                    m = function (t) {
                                        return "/" !== t.slice(-1) && (t += "/"), t;
                                    },
                                    g = function (t, e) {
                                        return (
                                            (e = void 0 !== e ? e : u.createFolders),
                                            (t = m(t)),
                                            this.files[t] || n.call(this, t, null, { dir: !0, createFolders: e }),
                                            this.files[t]
                                        );
                                    };
                                function y(t) {
                                    return "[object RegExp]" === Object.prototype.toString.call(t);
                                }
                                var v = {
                                    load: function () {
                                        throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
                                    },
                                    forEach: function (t) {
                                        var e, r, n;
                                        for (e in this.files)
                                            (n = this.files[e]),
                                                (r = e.slice(this.root.length, e.length)) && e.slice(0, this.root.length) === this.root && t(r, n);
                                    },
                                    filter: function (t) {
                                        var e = [];
                                        return (
                                            this.forEach(function (r, n) {
                                                t(r, n) && e.push(n);
                                            }),
                                            e
                                        );
                                    },
                                    file: function (t, e, r) {
                                        if (1 !== arguments.length) return (t = this.root + t), n.call(this, t, e, r), this;
                                        if (y(t)) {
                                            var i = t;
                                            return this.filter(function (t, e) {
                                                return !e.dir && i.test(t);
                                            });
                                        }
                                        var o = this.files[this.root + t];
                                        return o && !o.dir ? o : null;
                                    },
                                    folder: function (t) {
                                        if (!t) return this;
                                        if (y(t))
                                            return this.filter(function (e, r) {
                                                return r.dir && t.test(e);
                                            });
                                        var e = this.root + t,
                                            r = g.call(this, e),
                                            n = this.clone();
                                        return (n.root = r.name), n;
                                    },
                                    remove: function (t) {
                                        t = this.root + t;
                                        var e = this.files[t];
                                        if ((e || ("/" !== t.slice(-1) && (t += "/"), (e = this.files[t])), e && !e.dir)) delete this.files[t];
                                        else
                                            for (
                                                var r = this.filter(function (e, r) {
                                                        return r.name.slice(0, t.length) === t;
                                                    }),
                                                    n = 0;
                                                n < r.length;
                                                n++
                                            )
                                                delete this.files[r[n].name];
                                        return this;
                                    },
                                    generate: function () {
                                        throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
                                    },
                                    generateInternalStream: function (t) {
                                        var e,
                                            r = {};
                                        try {
                                            if (
                                                (((r = o.extend(t || {}, {
                                                    streamFiles: !1,
                                                    compression: "STORE",
                                                    compressionOptions: null,
                                                    type: "",
                                                    platform: "DOS",
                                                    comment: null,
                                                    mimeType: "application/zip",
                                                    encodeFileName: i.utf8encode,
                                                })).type = r.type.toLowerCase()),
                                                (r.compression = r.compression.toUpperCase()),
                                                "binarystring" === r.type && (r.type = "string"),
                                                !r.type)
                                            )
                                                throw new Error("No output type specified.");
                                            o.checkSupport(r.type),
                                                ("darwin" !== r.platform && "freebsd" !== r.platform && "linux" !== r.platform && "sunos" !== r.platform) ||
                                                    (r.platform = "UNIX"),
                                                "win32" === r.platform && (r.platform = "DOS");
                                            var n = r.comment || this.comment || "";
                                            e = f.generateWorker(this, r, n);
                                        } catch (t) {
                                            (e = new a("error")).error(t);
                                        }
                                        return new s(e, r.type || "string", r.mimeType);
                                    },
                                    generateAsync: function (t, e) {
                                        return this.generateInternalStream(t).accumulate(e);
                                    },
                                    generateNodeStream: function (t, e) {
                                        return (t = t || {}).type || (t.type = "nodebuffer"), this.generateInternalStream(t).toNodejsStream(e);
                                    },
                                };
                                e.exports = v;
                            },
                            {
                                "./compressedObject": 2,
                                "./defaults": 5,
                                "./generate": 9,
                                "./nodejs/NodejsStreamInputAdapter": 12,
                                "./nodejsUtils": 14,
                                "./stream/GenericWorker": 28,
                                "./stream/StreamHelper": 29,
                                "./utf8": 31,
                                "./utils": 32,
                                "./zipObject": 35,
                            },
                        ],
                        16: [
                            function (t, e, r) {
                                "use strict";
                                e.exports = t("stream");
                            },
                            { stream: void 0 },
                        ],
                        17: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./DataReader");
                                function i(t) {
                                    n.call(this, t);
                                    for (var e = 0; e < this.data.length; e++) t[e] = 255 & t[e];
                                }
                                t("../utils").inherits(i, n),
                                    (i.prototype.byteAt = function (t) {
                                        return this.data[this.zero + t];
                                    }),
                                    (i.prototype.lastIndexOfSignature = function (t) {
                                        for (
                                            var e = t.charCodeAt(0), r = t.charCodeAt(1), n = t.charCodeAt(2), i = t.charCodeAt(3), o = this.length - 4;
                                            0 <= o;
                                            --o
                                        )
                                            if (this.data[o] === e && this.data[o + 1] === r && this.data[o + 2] === n && this.data[o + 3] === i)
                                                return o - this.zero;
                                        return -1;
                                    }),
                                    (i.prototype.readAndCheckSignature = function (t) {
                                        var e = t.charCodeAt(0),
                                            r = t.charCodeAt(1),
                                            n = t.charCodeAt(2),
                                            i = t.charCodeAt(3),
                                            o = this.readData(4);
                                        return e === o[0] && r === o[1] && n === o[2] && i === o[3];
                                    }),
                                    (i.prototype.readData = function (t) {
                                        if ((this.checkOffset(t), 0 === t)) return [];
                                        var e = this.data.slice(this.zero + this.index, this.zero + this.index + t);
                                        return (this.index += t), e;
                                    }),
                                    (e.exports = i);
                            },
                            { "../utils": 32, "./DataReader": 18 },
                        ],
                        18: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../utils");
                                function i(t) {
                                    (this.data = t), (this.length = t.length), (this.index = 0), (this.zero = 0);
                                }
                                (i.prototype = {
                                    checkOffset: function (t) {
                                        this.checkIndex(this.index + t);
                                    },
                                    checkIndex: function (t) {
                                        if (this.length < this.zero + t || t < 0)
                                            throw new Error(
                                                "End of data reached (data length = " + this.length + ", asked index = " + t + "). Corrupted zip ?"
                                            );
                                    },
                                    setIndex: function (t) {
                                        this.checkIndex(t), (this.index = t);
                                    },
                                    skip: function (t) {
                                        this.setIndex(this.index + t);
                                    },
                                    byteAt: function () {},
                                    readInt: function (t) {
                                        var e,
                                            r = 0;
                                        for (this.checkOffset(t), e = this.index + t - 1; e >= this.index; e--) r = (r << 8) + this.byteAt(e);
                                        return (this.index += t), r;
                                    },
                                    readString: function (t) {
                                        return n.transformTo("string", this.readData(t));
                                    },
                                    readData: function () {},
                                    lastIndexOfSignature: function () {},
                                    readAndCheckSignature: function () {},
                                    readDate: function () {
                                        var t = this.readInt(4);
                                        return new Date(
                                            Date.UTC(
                                                1980 + ((t >> 25) & 127),
                                                ((t >> 21) & 15) - 1,
                                                (t >> 16) & 31,
                                                (t >> 11) & 31,
                                                (t >> 5) & 63,
                                                (31 & t) << 1
                                            )
                                        );
                                    },
                                }),
                                    (e.exports = i);
                            },
                            { "../utils": 32 },
                        ],
                        19: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./Uint8ArrayReader");
                                function i(t) {
                                    n.call(this, t);
                                }
                                t("../utils").inherits(i, n),
                                    (i.prototype.readData = function (t) {
                                        this.checkOffset(t);
                                        var e = this.data.slice(this.zero + this.index, this.zero + this.index + t);
                                        return (this.index += t), e;
                                    }),
                                    (e.exports = i);
                            },
                            { "../utils": 32, "./Uint8ArrayReader": 21 },
                        ],
                        20: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./DataReader");
                                function i(t) {
                                    n.call(this, t);
                                }
                                t("../utils").inherits(i, n),
                                    (i.prototype.byteAt = function (t) {
                                        return this.data.charCodeAt(this.zero + t);
                                    }),
                                    (i.prototype.lastIndexOfSignature = function (t) {
                                        return this.data.lastIndexOf(t) - this.zero;
                                    }),
                                    (i.prototype.readAndCheckSignature = function (t) {
                                        return t === this.readData(4);
                                    }),
                                    (i.prototype.readData = function (t) {
                                        this.checkOffset(t);
                                        var e = this.data.slice(this.zero + this.index, this.zero + this.index + t);
                                        return (this.index += t), e;
                                    }),
                                    (e.exports = i);
                            },
                            { "../utils": 32, "./DataReader": 18 },
                        ],
                        21: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./ArrayReader");
                                function i(t) {
                                    n.call(this, t);
                                }
                                t("../utils").inherits(i, n),
                                    (i.prototype.readData = function (t) {
                                        if ((this.checkOffset(t), 0 === t)) return new Uint8Array(0);
                                        var e = this.data.subarray(this.zero + this.index, this.zero + this.index + t);
                                        return (this.index += t), e;
                                    }),
                                    (e.exports = i);
                            },
                            { "../utils": 32, "./ArrayReader": 17 },
                        ],
                        22: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../utils"),
                                    i = t("../support"),
                                    o = t("./ArrayReader"),
                                    a = t("./StringReader"),
                                    s = t("./NodeBufferReader"),
                                    u = t("./Uint8ArrayReader");
                                e.exports = function (t) {
                                    var e = n.getTypeOf(t);
                                    return (
                                        n.checkSupport(e),
                                        "string" !== e || i.uint8array
                                            ? "nodebuffer" === e
                                                ? new s(t)
                                                : i.uint8array
                                                ? new u(n.transformTo("uint8array", t))
                                                : new o(n.transformTo("array", t))
                                            : new a(t)
                                    );
                                };
                            },
                            { "../support": 30, "../utils": 32, "./ArrayReader": 17, "./NodeBufferReader": 19, "./StringReader": 20, "./Uint8ArrayReader": 21 },
                        ],
                        23: [
                            function (t, e, r) {
                                "use strict";
                                (r.LOCAL_FILE_HEADER = "PK"),
                                    (r.CENTRAL_FILE_HEADER = "PK"),
                                    (r.CENTRAL_DIRECTORY_END = "PK"),
                                    (r.ZIP64_CENTRAL_DIRECTORY_LOCATOR = "PK"),
                                    (r.ZIP64_CENTRAL_DIRECTORY_END = "PK"),
                                    (r.DATA_DESCRIPTOR = "PK\b");
                            },
                            {},
                        ],
                        24: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./GenericWorker"),
                                    i = t("../utils");
                                function o(t) {
                                    n.call(this, "ConvertWorker to " + t), (this.destType = t);
                                }
                                i.inherits(o, n),
                                    (o.prototype.processChunk = function (t) {
                                        this.push({ data: i.transformTo(this.destType, t.data), meta: t.meta });
                                    }),
                                    (e.exports = o);
                            },
                            { "../utils": 32, "./GenericWorker": 28 },
                        ],
                        25: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./GenericWorker"),
                                    i = t("../crc32");
                                function o() {
                                    n.call(this, "Crc32Probe"), this.withStreamInfo("crc32", 0);
                                }
                                t("../utils").inherits(o, n),
                                    (o.prototype.processChunk = function (t) {
                                        (this.streamInfo.crc32 = i(t.data, this.streamInfo.crc32 || 0)), this.push(t);
                                    }),
                                    (e.exports = o);
                            },
                            { "../crc32": 4, "../utils": 32, "./GenericWorker": 28 },
                        ],
                        26: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../utils"),
                                    i = t("./GenericWorker");
                                function o(t) {
                                    i.call(this, "DataLengthProbe for " + t), (this.propName = t), this.withStreamInfo(t, 0);
                                }
                                n.inherits(o, i),
                                    (o.prototype.processChunk = function (t) {
                                        if (t) {
                                            var e = this.streamInfo[this.propName] || 0;
                                            this.streamInfo[this.propName] = e + t.data.length;
                                        }
                                        i.prototype.processChunk.call(this, t);
                                    }),
                                    (e.exports = o);
                            },
                            { "../utils": 32, "./GenericWorker": 28 },
                        ],
                        27: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../utils"),
                                    i = t("./GenericWorker");
                                function o(t) {
                                    i.call(this, "DataWorker");
                                    var e = this;
                                    (this.dataIsReady = !1),
                                        (this.index = 0),
                                        (this.max = 0),
                                        (this.data = null),
                                        (this.type = ""),
                                        (this._tickScheduled = !1),
                                        t.then(
                                            function (t) {
                                                (e.dataIsReady = !0),
                                                    (e.data = t),
                                                    (e.max = (t && t.length) || 0),
                                                    (e.type = n.getTypeOf(t)),
                                                    e.isPaused || e._tickAndRepeat();
                                            },
                                            function (t) {
                                                e.error(t);
                                            }
                                        );
                                }
                                n.inherits(o, i),
                                    (o.prototype.cleanUp = function () {
                                        i.prototype.cleanUp.call(this), (this.data = null);
                                    }),
                                    (o.prototype.resume = function () {
                                        return (
                                            !!i.prototype.resume.call(this) &&
                                            (!this._tickScheduled && this.dataIsReady && ((this._tickScheduled = !0), n.delay(this._tickAndRepeat, [], this)),
                                            !0)
                                        );
                                    }),
                                    (o.prototype._tickAndRepeat = function () {
                                        (this._tickScheduled = !1),
                                            this.isPaused ||
                                                this.isFinished ||
                                                (this._tick(), this.isFinished || (n.delay(this._tickAndRepeat, [], this), (this._tickScheduled = !0)));
                                    }),
                                    (o.prototype._tick = function () {
                                        if (this.isPaused || this.isFinished) return !1;
                                        var t = null,
                                            e = Math.min(this.max, this.index + 16384);
                                        if (this.index >= this.max) return this.end();
                                        switch (this.type) {
                                            case "string":
                                                t = this.data.substring(this.index, e);
                                                break;
                                            case "uint8array":
                                                t = this.data.subarray(this.index, e);
                                                break;
                                            case "array":
                                            case "nodebuffer":
                                                t = this.data.slice(this.index, e);
                                        }
                                        return (this.index = e), this.push({ data: t, meta: { percent: this.max ? (this.index / this.max) * 100 : 0 } });
                                    }),
                                    (e.exports = o);
                            },
                            { "../utils": 32, "./GenericWorker": 28 },
                        ],
                        28: [
                            function (t, e, r) {
                                "use strict";
                                function n(t) {
                                    (this.name = t || "default"),
                                        (this.streamInfo = {}),
                                        (this.generatedError = null),
                                        (this.extraStreamInfo = {}),
                                        (this.isPaused = !0),
                                        (this.isFinished = !1),
                                        (this.isLocked = !1),
                                        (this._listeners = { data: [], end: [], error: [] }),
                                        (this.previous = null);
                                }
                                (n.prototype = {
                                    push: function (t) {
                                        this.emit("data", t);
                                    },
                                    end: function () {
                                        if (this.isFinished) return !1;
                                        this.flush();
                                        try {
                                            this.emit("end"), this.cleanUp(), (this.isFinished = !0);
                                        } catch (t) {
                                            this.emit("error", t);
                                        }
                                        return !0;
                                    },
                                    error: function (t) {
                                        return (
                                            !this.isFinished &&
                                            (this.isPaused
                                                ? (this.generatedError = t)
                                                : ((this.isFinished = !0), this.emit("error", t), this.previous && this.previous.error(t), this.cleanUp()),
                                            !0)
                                        );
                                    },
                                    on: function (t, e) {
                                        return this._listeners[t].push(e), this;
                                    },
                                    cleanUp: function () {
                                        (this.streamInfo = this.generatedError = this.extraStreamInfo = null), (this._listeners = []);
                                    },
                                    emit: function (t, e) {
                                        if (this._listeners[t]) for (var r = 0; r < this._listeners[t].length; r++) this._listeners[t][r].call(this, e);
                                    },
                                    pipe: function (t) {
                                        return t.registerPrevious(this);
                                    },
                                    registerPrevious: function (t) {
                                        if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.");
                                        (this.streamInfo = t.streamInfo), this.mergeStreamInfo(), (this.previous = t);
                                        var e = this;
                                        return (
                                            t.on("data", function (t) {
                                                e.processChunk(t);
                                            }),
                                            t.on("end", function () {
                                                e.end();
                                            }),
                                            t.on("error", function (t) {
                                                e.error(t);
                                            }),
                                            this
                                        );
                                    },
                                    pause: function () {
                                        return !this.isPaused && !this.isFinished && ((this.isPaused = !0), this.previous && this.previous.pause(), !0);
                                    },
                                    resume: function () {
                                        if (!this.isPaused || this.isFinished) return !1;
                                        var t = (this.isPaused = !1);
                                        return this.generatedError && (this.error(this.generatedError), (t = !0)), this.previous && this.previous.resume(), !t;
                                    },
                                    flush: function () {},
                                    processChunk: function (t) {
                                        this.push(t);
                                    },
                                    withStreamInfo: function (t, e) {
                                        return (this.extraStreamInfo[t] = e), this.mergeStreamInfo(), this;
                                    },
                                    mergeStreamInfo: function () {
                                        for (var t in this.extraStreamInfo)
                                            Object.prototype.hasOwnProperty.call(this.extraStreamInfo, t) && (this.streamInfo[t] = this.extraStreamInfo[t]);
                                    },
                                    lock: function () {
                                        if (this.isLocked) throw new Error("The stream '" + this + "' has already been used.");
                                        (this.isLocked = !0), this.previous && this.previous.lock();
                                    },
                                    toString: function () {
                                        var t = "Worker " + this.name;
                                        return this.previous ? this.previous + " -> " + t : t;
                                    },
                                }),
                                    (e.exports = n);
                            },
                            {},
                        ],
                        29: [
                            function (t, r, n) {
                                "use strict";
                                var i = t("../utils"),
                                    o = t("./ConvertWorker"),
                                    a = t("./GenericWorker"),
                                    s = t("../base64"),
                                    u = t("../support"),
                                    l = t("../external"),
                                    c = null;
                                if (u.nodestream)
                                    try {
                                        c = t("../nodejs/NodejsStreamOutputAdapter");
                                    } catch (t) {}
                                function f(t, e, r) {
                                    var n = e;
                                    switch (e) {
                                        case "blob":
                                        case "arraybuffer":
                                            n = "uint8array";
                                            break;
                                        case "base64":
                                            n = "string";
                                    }
                                    try {
                                        (this._internalType = n),
                                            (this._outputType = e),
                                            (this._mimeType = r),
                                            i.checkSupport(n),
                                            (this._worker = t.pipe(new o(n))),
                                            t.lock();
                                    } catch (t) {
                                        (this._worker = new a("error")), this._worker.error(t);
                                    }
                                }
                                (f.prototype = {
                                    accumulate: function (t) {
                                        return (function (t, r) {
                                            return new l.Promise(function (n, o) {
                                                var a = [],
                                                    u = t._internalType,
                                                    l = t._outputType,
                                                    c = t._mimeType;
                                                t.on("data", function (t, e) {
                                                    a.push(t), r && r(e);
                                                })
                                                    .on("error", function (t) {
                                                        (a = []), o(t);
                                                    })
                                                    .on("end", function () {
                                                        try {
                                                            var t = (function (t, e, r) {
                                                                switch (t) {
                                                                    case "blob":
                                                                        return i.newBlob(i.transformTo("arraybuffer", e), r);
                                                                    case "base64":
                                                                        return s.encode(e);
                                                                    default:
                                                                        return i.transformTo(t, e);
                                                                }
                                                            })(
                                                                l,
                                                                (function (t, r) {
                                                                    var n,
                                                                        i = 0,
                                                                        o = null,
                                                                        a = 0;
                                                                    for (n = 0; n < r.length; n++) a += r[n].length;
                                                                    switch (t) {
                                                                        case "string":
                                                                            return r.join("");
                                                                        case "array":
                                                                            return Array.prototype.concat.apply([], r);
                                                                        case "uint8array":
                                                                            for (o = new Uint8Array(a), n = 0; n < r.length; n++)
                                                                                o.set(r[n], i), (i += r[n].length);
                                                                            return o;
                                                                        case "nodebuffer":
                                                                            return e.concat(r);
                                                                        default:
                                                                            throw new Error("concat : unsupported type '" + t + "'");
                                                                    }
                                                                })(u, a),
                                                                c
                                                            );
                                                            n(t);
                                                        } catch (t) {
                                                            o(t);
                                                        }
                                                        a = [];
                                                    })
                                                    .resume();
                                            });
                                        })(this, t);
                                    },
                                    on: function (t, e) {
                                        var r = this;
                                        return (
                                            "data" === t
                                                ? this._worker.on(t, function (t) {
                                                      e.call(r, t.data, t.meta);
                                                  })
                                                : this._worker.on(t, function () {
                                                      i.delay(e, arguments, r);
                                                  }),
                                            this
                                        );
                                    },
                                    resume: function () {
                                        return i.delay(this._worker.resume, [], this._worker), this;
                                    },
                                    pause: function () {
                                        return this._worker.pause(), this;
                                    },
                                    toNodejsStream: function (t) {
                                        if ((i.checkSupport("nodestream"), "nodebuffer" !== this._outputType))
                                            throw new Error(this._outputType + " is not supported by this method");
                                        return new c(this, { objectMode: "nodebuffer" !== this._outputType }, t);
                                    },
                                }),
                                    (r.exports = f);
                            },
                            {
                                "../base64": 1,
                                "../external": 6,
                                "../nodejs/NodejsStreamOutputAdapter": 13,
                                "../support": 30,
                                "../utils": 32,
                                "./ConvertWorker": 24,
                                "./GenericWorker": 28,
                            },
                        ],
                        30: [
                            function (t, r, n) {
                                "use strict";
                                if (
                                    ((n.base64 = !0),
                                    (n.array = !0),
                                    (n.string = !0),
                                    (n.arraybuffer = "undefined" != typeof ArrayBuffer && "undefined" != typeof Uint8Array),
                                    (n.nodebuffer = void 0 !== e),
                                    (n.uint8array = "undefined" != typeof Uint8Array),
                                    "undefined" == typeof ArrayBuffer)
                                )
                                    n.blob = !1;
                                else {
                                    var i = new ArrayBuffer(0);
                                    try {
                                        n.blob = 0 === new Blob([i], { type: "application/zip" }).size;
                                    } catch (t) {
                                        try {
                                            var o = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
                                            o.append(i), (n.blob = 0 === o.getBlob("application/zip").size);
                                        } catch (t) {
                                            n.blob = !1;
                                        }
                                    }
                                }
                                try {
                                    n.nodestream = !!t("readable-stream").Readable;
                                } catch (t) {
                                    n.nodestream = !1;
                                }
                            },
                            { "readable-stream": 16 },
                        ],
                        31: [
                            function (t, e, r) {
                                "use strict";
                                for (
                                    var n = t("./utils"),
                                        i = t("./support"),
                                        o = t("./nodejsUtils"),
                                        a = t("./stream/GenericWorker"),
                                        s = new Array(256),
                                        u = 0;
                                    u < 256;
                                    u++
                                )
                                    s[u] = 252 <= u ? 6 : 248 <= u ? 5 : 240 <= u ? 4 : 224 <= u ? 3 : 192 <= u ? 2 : 1;
                                function l() {
                                    a.call(this, "utf-8 decode"), (this.leftOver = null);
                                }
                                function c() {
                                    a.call(this, "utf-8 encode");
                                }
                                (s[254] = s[254] = 1),
                                    (r.utf8encode = function (t) {
                                        return i.nodebuffer
                                            ? o.newBufferFrom(t, "utf-8")
                                            : (function (t) {
                                                  var e,
                                                      r,
                                                      n,
                                                      o,
                                                      a,
                                                      s = t.length,
                                                      u = 0;
                                                  for (o = 0; o < s; o++)
                                                      55296 == (64512 & (r = t.charCodeAt(o))) &&
                                                          o + 1 < s &&
                                                          56320 == (64512 & (n = t.charCodeAt(o + 1))) &&
                                                          ((r = 65536 + ((r - 55296) << 10) + (n - 56320)), o++),
                                                          (u += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4);
                                                  for (e = i.uint8array ? new Uint8Array(u) : new Array(u), o = a = 0; a < u; o++)
                                                      55296 == (64512 & (r = t.charCodeAt(o))) &&
                                                          o + 1 < s &&
                                                          56320 == (64512 & (n = t.charCodeAt(o + 1))) &&
                                                          ((r = 65536 + ((r - 55296) << 10) + (n - 56320)), o++),
                                                          r < 128
                                                              ? (e[a++] = r)
                                                              : (r < 2048
                                                                    ? (e[a++] = 192 | (r >>> 6))
                                                                    : (r < 65536
                                                                          ? (e[a++] = 224 | (r >>> 12))
                                                                          : ((e[a++] = 240 | (r >>> 18)), (e[a++] = 128 | ((r >>> 12) & 63))),
                                                                      (e[a++] = 128 | ((r >>> 6) & 63))),
                                                                (e[a++] = 128 | (63 & r)));
                                                  return e;
                                              })(t);
                                    }),
                                    (r.utf8decode = function (t) {
                                        return i.nodebuffer
                                            ? n.transformTo("nodebuffer", t).toString("utf-8")
                                            : (function (t) {
                                                  var e,
                                                      r,
                                                      i,
                                                      o,
                                                      a = t.length,
                                                      u = new Array(2 * a);
                                                  for (e = r = 0; e < a; )
                                                      if ((i = t[e++]) < 128) u[r++] = i;
                                                      else if (4 < (o = s[i])) (u[r++] = 65533), (e += o - 1);
                                                      else {
                                                          for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && e < a; ) (i = (i << 6) | (63 & t[e++])), o--;
                                                          1 < o
                                                              ? (u[r++] = 65533)
                                                              : i < 65536
                                                              ? (u[r++] = i)
                                                              : ((i -= 65536), (u[r++] = 55296 | ((i >> 10) & 1023)), (u[r++] = 56320 | (1023 & i)));
                                                      }
                                                  return u.length !== r && (u.subarray ? (u = u.subarray(0, r)) : (u.length = r)), n.applyFromCharCode(u);
                                              })((t = n.transformTo(i.uint8array ? "uint8array" : "array", t)));
                                    }),
                                    n.inherits(l, a),
                                    (l.prototype.processChunk = function (t) {
                                        var e = n.transformTo(i.uint8array ? "uint8array" : "array", t.data);
                                        if (this.leftOver && this.leftOver.length) {
                                            if (i.uint8array) {
                                                var o = e;
                                                (e = new Uint8Array(o.length + this.leftOver.length)).set(this.leftOver, 0), e.set(o, this.leftOver.length);
                                            } else e = this.leftOver.concat(e);
                                            this.leftOver = null;
                                        }
                                        var a = (function (t, e) {
                                                var r;
                                                for ((e = e || t.length) > t.length && (e = t.length), r = e - 1; 0 <= r && 128 == (192 & t[r]); ) r--;
                                                return r < 0 || 0 === r ? e : r + s[t[r]] > e ? r : e;
                                            })(e),
                                            u = e;
                                        a !== e.length &&
                                            (i.uint8array
                                                ? ((u = e.subarray(0, a)), (this.leftOver = e.subarray(a, e.length)))
                                                : ((u = e.slice(0, a)), (this.leftOver = e.slice(a, e.length)))),
                                            this.push({ data: r.utf8decode(u), meta: t.meta });
                                    }),
                                    (l.prototype.flush = function () {
                                        this.leftOver &&
                                            this.leftOver.length &&
                                            (this.push({ data: r.utf8decode(this.leftOver), meta: {} }), (this.leftOver = null));
                                    }),
                                    (r.Utf8DecodeWorker = l),
                                    n.inherits(c, a),
                                    (c.prototype.processChunk = function (t) {
                                        this.push({ data: r.utf8encode(t.data), meta: t.meta });
                                    }),
                                    (r.Utf8EncodeWorker = c);
                            },
                            { "./nodejsUtils": 14, "./stream/GenericWorker": 28, "./support": 30, "./utils": 32 },
                        ],
                        32: [
                            function (t, e, r) {
                                "use strict";
                                var i = t("./support"),
                                    o = t("./base64"),
                                    a = t("./nodejsUtils"),
                                    s = t("./external");
                                function u(t) {
                                    return t;
                                }
                                function l(t, e) {
                                    for (var r = 0; r < t.length; ++r) e[r] = 255 & t.charCodeAt(r);
                                    return e;
                                }
                                t("setimmediate"),
                                    (r.newBlob = function (t, e) {
                                        r.checkSupport("blob");
                                        try {
                                            return new Blob([t], { type: e });
                                        } catch (r) {
                                            try {
                                                var n = new (self.BlobBuilder || self.WebKitBlobBuilder || self.MozBlobBuilder || self.MSBlobBuilder)();
                                                return n.append(t), n.getBlob(e);
                                            } catch (t) {
                                                throw new Error("Bug : can't construct the Blob.");
                                            }
                                        }
                                    });
                                var c = {
                                    stringifyByChunk: function (t, e, r) {
                                        var n = [],
                                            i = 0,
                                            o = t.length;
                                        if (o <= r) return String.fromCharCode.apply(null, t);
                                        for (; i < o; )
                                            "array" === e || "nodebuffer" === e
                                                ? n.push(String.fromCharCode.apply(null, t.slice(i, Math.min(i + r, o))))
                                                : n.push(String.fromCharCode.apply(null, t.subarray(i, Math.min(i + r, o)))),
                                                (i += r);
                                        return n.join("");
                                    },
                                    stringifyByChar: function (t) {
                                        for (var e = "", r = 0; r < t.length; r++) e += String.fromCharCode(t[r]);
                                        return e;
                                    },
                                    applyCanBeUsed: {
                                        uint8array: (function () {
                                            try {
                                                return i.uint8array && 1 === String.fromCharCode.apply(null, new Uint8Array(1)).length;
                                            } catch (t) {
                                                return !1;
                                            }
                                        })(),
                                        nodebuffer: (function () {
                                            try {
                                                return i.nodebuffer && 1 === String.fromCharCode.apply(null, a.allocBuffer(1)).length;
                                            } catch (t) {
                                                return !1;
                                            }
                                        })(),
                                    },
                                };
                                function f(t) {
                                    var e = 65536,
                                        n = r.getTypeOf(t),
                                        i = !0;
                                    if (("uint8array" === n ? (i = c.applyCanBeUsed.uint8array) : "nodebuffer" === n && (i = c.applyCanBeUsed.nodebuffer), i))
                                        for (; 1 < e; )
                                            try {
                                                return c.stringifyByChunk(t, n, e);
                                            } catch (t) {
                                                e = Math.floor(e / 2);
                                            }
                                    return c.stringifyByChar(t);
                                }
                                function h(t, e) {
                                    for (var r = 0; r < t.length; r++) e[r] = t[r];
                                    return e;
                                }
                                r.applyFromCharCode = f;
                                var d = {};
                                (d.string = {
                                    string: u,
                                    array: function (t) {
                                        return l(t, new Array(t.length));
                                    },
                                    arraybuffer: function (t) {
                                        return d.string.uint8array(t).buffer;
                                    },
                                    uint8array: function (t) {
                                        return l(t, new Uint8Array(t.length));
                                    },
                                    nodebuffer: function (t) {
                                        return l(t, a.allocBuffer(t.length));
                                    },
                                }),
                                    (d.array = {
                                        string: f,
                                        array: u,
                                        arraybuffer: function (t) {
                                            return new Uint8Array(t).buffer;
                                        },
                                        uint8array: function (t) {
                                            return new Uint8Array(t);
                                        },
                                        nodebuffer: function (t) {
                                            return a.newBufferFrom(t);
                                        },
                                    }),
                                    (d.arraybuffer = {
                                        string: function (t) {
                                            return f(new Uint8Array(t));
                                        },
                                        array: function (t) {
                                            return h(new Uint8Array(t), new Array(t.byteLength));
                                        },
                                        arraybuffer: u,
                                        uint8array: function (t) {
                                            return new Uint8Array(t);
                                        },
                                        nodebuffer: function (t) {
                                            return a.newBufferFrom(new Uint8Array(t));
                                        },
                                    }),
                                    (d.uint8array = {
                                        string: f,
                                        array: function (t) {
                                            return h(t, new Array(t.length));
                                        },
                                        arraybuffer: function (t) {
                                            return t.buffer;
                                        },
                                        uint8array: u,
                                        nodebuffer: function (t) {
                                            return a.newBufferFrom(t);
                                        },
                                    }),
                                    (d.nodebuffer = {
                                        string: f,
                                        array: function (t) {
                                            return h(t, new Array(t.length));
                                        },
                                        arraybuffer: function (t) {
                                            return d.nodebuffer.uint8array(t).buffer;
                                        },
                                        uint8array: function (t) {
                                            return h(t, new Uint8Array(t.length));
                                        },
                                        nodebuffer: u,
                                    }),
                                    (r.transformTo = function (t, e) {
                                        if (((e = e || ""), !t)) return e;
                                        r.checkSupport(t);
                                        var n = r.getTypeOf(e);
                                        return d[n][t](e);
                                    }),
                                    (r.resolve = function (t) {
                                        for (var e = t.split("/"), r = [], n = 0; n < e.length; n++) {
                                            var i = e[n];
                                            "." === i || ("" === i && 0 !== n && n !== e.length - 1) || (".." === i ? r.pop() : r.push(i));
                                        }
                                        return r.join("/");
                                    }),
                                    (r.getTypeOf = function (t) {
                                        return "string" == typeof t
                                            ? "string"
                                            : "[object Array]" === Object.prototype.toString.call(t)
                                            ? "array"
                                            : i.nodebuffer && a.isBuffer(t)
                                            ? "nodebuffer"
                                            : i.uint8array && t instanceof Uint8Array
                                            ? "uint8array"
                                            : i.arraybuffer && t instanceof ArrayBuffer
                                            ? "arraybuffer"
                                            : void 0;
                                    }),
                                    (r.checkSupport = function (t) {
                                        if (!i[t.toLowerCase()]) throw new Error(t + " is not supported by this platform");
                                    }),
                                    (r.MAX_VALUE_16BITS = 65535),
                                    (r.MAX_VALUE_32BITS = -1),
                                    (r.pretty = function (t) {
                                        var e,
                                            r,
                                            n = "";
                                        for (r = 0; r < (t || "").length; r++)
                                            n += "\\x" + ((e = t.charCodeAt(r)) < 16 ? "0" : "") + e.toString(16).toUpperCase();
                                        return n;
                                    }),
                                    (r.delay = function (t, e, r) {
                                        n(function () {
                                            t.apply(r || null, e || []);
                                        });
                                    }),
                                    (r.inherits = function (t, e) {
                                        function r() {}
                                        (r.prototype = e.prototype), (t.prototype = new r());
                                    }),
                                    (r.extend = function () {
                                        var t,
                                            e,
                                            r = {};
                                        for (t = 0; t < arguments.length; t++)
                                            for (e in arguments[t])
                                                Object.prototype.hasOwnProperty.call(arguments[t], e) && void 0 === r[e] && (r[e] = arguments[t][e]);
                                        return r;
                                    }),
                                    (r.prepareContent = function (t, e, n, a, u) {
                                        return s.Promise.resolve(e)
                                            .then(function (t) {
                                                return i.blob &&
                                                    (t instanceof Blob ||
                                                        -1 !== ["[object File]", "[object Blob]"].indexOf(Object.prototype.toString.call(t))) &&
                                                    "undefined" != typeof FileReader
                                                    ? new s.Promise(function (e, r) {
                                                          var n = new FileReader();
                                                          (n.onload = function (t) {
                                                              e(t.target.result);
                                                          }),
                                                              (n.onerror = function (t) {
                                                                  r(t.target.error);
                                                              }),
                                                              n.readAsArrayBuffer(t);
                                                      })
                                                    : t;
                                            })
                                            .then(function (e) {
                                                var c = r.getTypeOf(e);
                                                return c
                                                    ? ("arraybuffer" === c
                                                          ? (e = r.transformTo("uint8array", e))
                                                          : "string" === c &&
                                                            (u
                                                                ? (e = o.decode(e))
                                                                : n &&
                                                                  !0 !== a &&
                                                                  (e = (function (t) {
                                                                      return l(t, i.uint8array ? new Uint8Array(t.length) : new Array(t.length));
                                                                  })(e))),
                                                      e)
                                                    : s.Promise.reject(
                                                          new Error(
                                                              "Can't read the data of '" +
                                                                  t +
                                                                  "'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"
                                                          )
                                                      );
                                            });
                                    });
                            },
                            { "./base64": 1, "./external": 6, "./nodejsUtils": 14, "./support": 30, setimmediate: 54 },
                        ],
                        33: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./reader/readerFor"),
                                    i = t("./utils"),
                                    o = t("./signature"),
                                    a = t("./zipEntry"),
                                    s = t("./support");
                                function u(t) {
                                    (this.files = []), (this.loadOptions = t);
                                }
                                (u.prototype = {
                                    checkSignature: function (t) {
                                        if (!this.reader.readAndCheckSignature(t)) {
                                            this.reader.index -= 4;
                                            var e = this.reader.readString(4);
                                            throw new Error("Corrupted zip or bug: unexpected signature (" + i.pretty(e) + ", expected " + i.pretty(t) + ")");
                                        }
                                    },
                                    isSignature: function (t, e) {
                                        var r = this.reader.index;
                                        this.reader.setIndex(t);
                                        var n = this.reader.readString(4) === e;
                                        return this.reader.setIndex(r), n;
                                    },
                                    readBlockEndOfCentral: function () {
                                        (this.diskNumber = this.reader.readInt(2)),
                                            (this.diskWithCentralDirStart = this.reader.readInt(2)),
                                            (this.centralDirRecordsOnThisDisk = this.reader.readInt(2)),
                                            (this.centralDirRecords = this.reader.readInt(2)),
                                            (this.centralDirSize = this.reader.readInt(4)),
                                            (this.centralDirOffset = this.reader.readInt(4)),
                                            (this.zipCommentLength = this.reader.readInt(2));
                                        var t = this.reader.readData(this.zipCommentLength),
                                            e = s.uint8array ? "uint8array" : "array",
                                            r = i.transformTo(e, t);
                                        this.zipComment = this.loadOptions.decodeFileName(r);
                                    },
                                    readBlockZip64EndOfCentral: function () {
                                        (this.zip64EndOfCentralSize = this.reader.readInt(8)),
                                            this.reader.skip(4),
                                            (this.diskNumber = this.reader.readInt(4)),
                                            (this.diskWithCentralDirStart = this.reader.readInt(4)),
                                            (this.centralDirRecordsOnThisDisk = this.reader.readInt(8)),
                                            (this.centralDirRecords = this.reader.readInt(8)),
                                            (this.centralDirSize = this.reader.readInt(8)),
                                            (this.centralDirOffset = this.reader.readInt(8)),
                                            (this.zip64ExtensibleData = {});
                                        for (var t, e, r, n = this.zip64EndOfCentralSize - 44; 0 < n; )
                                            (t = this.reader.readInt(2)),
                                                (e = this.reader.readInt(4)),
                                                (r = this.reader.readData(e)),
                                                (this.zip64ExtensibleData[t] = { id: t, length: e, value: r });
                                    },
                                    readBlockZip64EndOfCentralLocator: function () {
                                        if (
                                            ((this.diskWithZip64CentralDirStart = this.reader.readInt(4)),
                                            (this.relativeOffsetEndOfZip64CentralDir = this.reader.readInt(8)),
                                            (this.disksCount = this.reader.readInt(4)),
                                            1 < this.disksCount)
                                        )
                                            throw new Error("Multi-volumes zip are not supported");
                                    },
                                    readLocalFiles: function () {
                                        var t, e;
                                        for (t = 0; t < this.files.length; t++)
                                            (e = this.files[t]),
                                                this.reader.setIndex(e.localHeaderOffset),
                                                this.checkSignature(o.LOCAL_FILE_HEADER),
                                                e.readLocalPart(this.reader),
                                                e.handleUTF8(),
                                                e.processAttributes();
                                    },
                                    readCentralDir: function () {
                                        var t;
                                        for (this.reader.setIndex(this.centralDirOffset); this.reader.readAndCheckSignature(o.CENTRAL_FILE_HEADER); )
                                            (t = new a({ zip64: this.zip64 }, this.loadOptions)).readCentralPart(this.reader), this.files.push(t);
                                        if (this.centralDirRecords !== this.files.length && 0 !== this.centralDirRecords && 0 === this.files.length)
                                            throw new Error(
                                                "Corrupted zip or bug: expected " + this.centralDirRecords + " records in central dir, got " + this.files.length
                                            );
                                    },
                                    readEndOfCentral: function () {
                                        var t = this.reader.lastIndexOfSignature(o.CENTRAL_DIRECTORY_END);
                                        if (t < 0)
                                            throw this.isSignature(0, o.LOCAL_FILE_HEADER)
                                                ? new Error("Corrupted zip: can't find end of central directory")
                                                : new Error(
                                                      "Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html"
                                                  );
                                        this.reader.setIndex(t);
                                        var e = t;
                                        if (
                                            (this.checkSignature(o.CENTRAL_DIRECTORY_END),
                                            this.readBlockEndOfCentral(),
                                            this.diskNumber === i.MAX_VALUE_16BITS ||
                                                this.diskWithCentralDirStart === i.MAX_VALUE_16BITS ||
                                                this.centralDirRecordsOnThisDisk === i.MAX_VALUE_16BITS ||
                                                this.centralDirRecords === i.MAX_VALUE_16BITS ||
                                                this.centralDirSize === i.MAX_VALUE_32BITS ||
                                                this.centralDirOffset === i.MAX_VALUE_32BITS)
                                        ) {
                                            if (((this.zip64 = !0), (t = this.reader.lastIndexOfSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR)) < 0))
                                                throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");
                                            if (
                                                (this.reader.setIndex(t),
                                                this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_LOCATOR),
                                                this.readBlockZip64EndOfCentralLocator(),
                                                !this.isSignature(this.relativeOffsetEndOfZip64CentralDir, o.ZIP64_CENTRAL_DIRECTORY_END) &&
                                                    ((this.relativeOffsetEndOfZip64CentralDir = this.reader.lastIndexOfSignature(
                                                        o.ZIP64_CENTRAL_DIRECTORY_END
                                                    )),
                                                    this.relativeOffsetEndOfZip64CentralDir < 0))
                                            )
                                                throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");
                                            this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),
                                                this.checkSignature(o.ZIP64_CENTRAL_DIRECTORY_END),
                                                this.readBlockZip64EndOfCentral();
                                        }
                                        var r = this.centralDirOffset + this.centralDirSize;
                                        this.zip64 && ((r += 20), (r += 12 + this.zip64EndOfCentralSize));
                                        var n = e - r;
                                        if (0 < n) this.isSignature(e, o.CENTRAL_FILE_HEADER) || (this.reader.zero = n);
                                        else if (n < 0) throw new Error("Corrupted zip: missing " + Math.abs(n) + " bytes.");
                                    },
                                    prepareReader: function (t) {
                                        this.reader = n(t);
                                    },
                                    load: function (t) {
                                        this.prepareReader(t), this.readEndOfCentral(), this.readCentralDir(), this.readLocalFiles();
                                    },
                                }),
                                    (e.exports = u);
                            },
                            { "./reader/readerFor": 22, "./signature": 23, "./support": 30, "./utils": 32, "./zipEntry": 34 },
                        ],
                        34: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./reader/readerFor"),
                                    i = t("./utils"),
                                    o = t("./compressedObject"),
                                    a = t("./crc32"),
                                    s = t("./utf8"),
                                    u = t("./compressions"),
                                    l = t("./support");
                                function c(t, e) {
                                    (this.options = t), (this.loadOptions = e);
                                }
                                (c.prototype = {
                                    isEncrypted: function () {
                                        return 1 == (1 & this.bitFlag);
                                    },
                                    useUTF8: function () {
                                        return 2048 == (2048 & this.bitFlag);
                                    },
                                    readLocalPart: function (t) {
                                        var e, r;
                                        if (
                                            (t.skip(22),
                                            (this.fileNameLength = t.readInt(2)),
                                            (r = t.readInt(2)),
                                            (this.fileName = t.readData(this.fileNameLength)),
                                            t.skip(r),
                                            -1 === this.compressedSize || -1 === this.uncompressedSize)
                                        )
                                            throw new Error(
                                                "Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)"
                                            );
                                        if (
                                            null ===
                                            (e = (function (t) {
                                                for (var e in u) if (Object.prototype.hasOwnProperty.call(u, e) && u[e].magic === t) return u[e];
                                                return null;
                                            })(this.compressionMethod))
                                        )
                                            throw new Error(
                                                "Corrupted zip : compression " +
                                                    i.pretty(this.compressionMethod) +
                                                    " unknown (inner file : " +
                                                    i.transformTo("string", this.fileName) +
                                                    ")"
                                            );
                                        this.decompressed = new o(this.compressedSize, this.uncompressedSize, this.crc32, e, t.readData(this.compressedSize));
                                    },
                                    readCentralPart: function (t) {
                                        (this.versionMadeBy = t.readInt(2)),
                                            t.skip(2),
                                            (this.bitFlag = t.readInt(2)),
                                            (this.compressionMethod = t.readString(2)),
                                            (this.date = t.readDate()),
                                            (this.crc32 = t.readInt(4)),
                                            (this.compressedSize = t.readInt(4)),
                                            (this.uncompressedSize = t.readInt(4));
                                        var e = t.readInt(2);
                                        if (
                                            ((this.extraFieldsLength = t.readInt(2)),
                                            (this.fileCommentLength = t.readInt(2)),
                                            (this.diskNumberStart = t.readInt(2)),
                                            (this.internalFileAttributes = t.readInt(2)),
                                            (this.externalFileAttributes = t.readInt(4)),
                                            (this.localHeaderOffset = t.readInt(4)),
                                            this.isEncrypted())
                                        )
                                            throw new Error("Encrypted zip are not supported");
                                        t.skip(e),
                                            this.readExtraFields(t),
                                            this.parseZIP64ExtraField(t),
                                            (this.fileComment = t.readData(this.fileCommentLength));
                                    },
                                    processAttributes: function () {
                                        (this.unixPermissions = null), (this.dosPermissions = null);
                                        var t = this.versionMadeBy >> 8;
                                        (this.dir = !!(16 & this.externalFileAttributes)),
                                            0 == t && (this.dosPermissions = 63 & this.externalFileAttributes),
                                            3 == t && (this.unixPermissions = (this.externalFileAttributes >> 16) & 65535),
                                            this.dir || "/" !== this.fileNameStr.slice(-1) || (this.dir = !0);
                                    },
                                    parseZIP64ExtraField: function () {
                                        if (this.extraFields[1]) {
                                            var t = n(this.extraFields[1].value);
                                            this.uncompressedSize === i.MAX_VALUE_32BITS && (this.uncompressedSize = t.readInt(8)),
                                                this.compressedSize === i.MAX_VALUE_32BITS && (this.compressedSize = t.readInt(8)),
                                                this.localHeaderOffset === i.MAX_VALUE_32BITS && (this.localHeaderOffset = t.readInt(8)),
                                                this.diskNumberStart === i.MAX_VALUE_32BITS && (this.diskNumberStart = t.readInt(4));
                                        }
                                    },
                                    readExtraFields: function (t) {
                                        var e,
                                            r,
                                            n,
                                            i = t.index + this.extraFieldsLength;
                                        for (this.extraFields || (this.extraFields = {}); t.index + 4 < i; )
                                            (e = t.readInt(2)), (r = t.readInt(2)), (n = t.readData(r)), (this.extraFields[e] = { id: e, length: r, value: n });
                                        t.setIndex(i);
                                    },
                                    handleUTF8: function () {
                                        var t = l.uint8array ? "uint8array" : "array";
                                        if (this.useUTF8())
                                            (this.fileNameStr = s.utf8decode(this.fileName)), (this.fileCommentStr = s.utf8decode(this.fileComment));
                                        else {
                                            var e = this.findExtraFieldUnicodePath();
                                            if (null !== e) this.fileNameStr = e;
                                            else {
                                                var r = i.transformTo(t, this.fileName);
                                                this.fileNameStr = this.loadOptions.decodeFileName(r);
                                            }
                                            var n = this.findExtraFieldUnicodeComment();
                                            if (null !== n) this.fileCommentStr = n;
                                            else {
                                                var o = i.transformTo(t, this.fileComment);
                                                this.fileCommentStr = this.loadOptions.decodeFileName(o);
                                            }
                                        }
                                    },
                                    findExtraFieldUnicodePath: function () {
                                        var t = this.extraFields[28789];
                                        if (t) {
                                            var e = n(t.value);
                                            return 1 !== e.readInt(1) || a(this.fileName) !== e.readInt(4) ? null : s.utf8decode(e.readData(t.length - 5));
                                        }
                                        return null;
                                    },
                                    findExtraFieldUnicodeComment: function () {
                                        var t = this.extraFields[25461];
                                        if (t) {
                                            var e = n(t.value);
                                            return 1 !== e.readInt(1) || a(this.fileComment) !== e.readInt(4) ? null : s.utf8decode(e.readData(t.length - 5));
                                        }
                                        return null;
                                    },
                                }),
                                    (e.exports = c);
                            },
                            {
                                "./compressedObject": 2,
                                "./compressions": 3,
                                "./crc32": 4,
                                "./reader/readerFor": 22,
                                "./support": 30,
                                "./utf8": 31,
                                "./utils": 32,
                            },
                        ],
                        35: [
                            function (t, e, r) {
                                "use strict";
                                function n(t, e, r) {
                                    (this.name = t),
                                        (this.dir = r.dir),
                                        (this.date = r.date),
                                        (this.comment = r.comment),
                                        (this.unixPermissions = r.unixPermissions),
                                        (this.dosPermissions = r.dosPermissions),
                                        (this._data = e),
                                        (this._dataBinary = r.binary),
                                        (this.options = { compression: r.compression, compressionOptions: r.compressionOptions });
                                }
                                var i = t("./stream/StreamHelper"),
                                    o = t("./stream/DataWorker"),
                                    a = t("./utf8"),
                                    s = t("./compressedObject"),
                                    u = t("./stream/GenericWorker");
                                n.prototype = {
                                    internalStream: function (t) {
                                        var e = null,
                                            r = "string";
                                        try {
                                            if (!t) throw new Error("No output type specified.");
                                            var n = "string" === (r = t.toLowerCase()) || "text" === r;
                                            ("binarystring" !== r && "text" !== r) || (r = "string"), (e = this._decompressWorker());
                                            var o = !this._dataBinary;
                                            o && !n && (e = e.pipe(new a.Utf8EncodeWorker())), !o && n && (e = e.pipe(new a.Utf8DecodeWorker()));
                                        } catch (t) {
                                            (e = new u("error")).error(t);
                                        }
                                        return new i(e, r, "");
                                    },
                                    async: function (t, e) {
                                        return this.internalStream(t).accumulate(e);
                                    },
                                    nodeStream: function (t, e) {
                                        return this.internalStream(t || "nodebuffer").toNodejsStream(e);
                                    },
                                    _compressWorker: function (t, e) {
                                        if (this._data instanceof s && this._data.compression.magic === t.magic) return this._data.getCompressedWorker();
                                        var r = this._decompressWorker();
                                        return this._dataBinary || (r = r.pipe(new a.Utf8EncodeWorker())), s.createWorkerFrom(r, t, e);
                                    },
                                    _decompressWorker: function () {
                                        return this._data instanceof s
                                            ? this._data.getContentWorker()
                                            : this._data instanceof u
                                            ? this._data
                                            : new o(this._data);
                                    },
                                };
                                for (
                                    var l = ["asText", "asBinary", "asNodeBuffer", "asUint8Array", "asArrayBuffer"],
                                        c = function () {
                                            throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.");
                                        },
                                        f = 0;
                                    f < l.length;
                                    f++
                                )
                                    n.prototype[l[f]] = c;
                                e.exports = n;
                            },
                            { "./compressedObject": 2, "./stream/DataWorker": 27, "./stream/GenericWorker": 28, "./stream/StreamHelper": 29, "./utf8": 31 },
                        ],
                        36: [
                            function (t, e, r) {
                                (function (t) {
                                    "use strict";
                                    var r,
                                        n,
                                        i = t.MutationObserver || t.WebKitMutationObserver;
                                    if (i) {
                                        var o = 0,
                                            a = new i(c),
                                            s = t.document.createTextNode("");
                                        a.observe(s, { characterData: !0 }),
                                            (r = function () {
                                                s.data = o = ++o % 2;
                                            });
                                    } else if (t.setImmediate || void 0 === t.MessageChannel)
                                        r =
                                            "document" in t && "onreadystatechange" in t.document.createElement("script")
                                                ? function () {
                                                      var e = t.document.createElement("script");
                                                      (e.onreadystatechange = function () {
                                                          c(), (e.onreadystatechange = null), e.parentNode.removeChild(e), (e = null);
                                                      }),
                                                          t.document.documentElement.appendChild(e);
                                                  }
                                                : function () {
                                                      setTimeout(c, 0);
                                                  };
                                    else {
                                        var u = new t.MessageChannel();
                                        (u.port1.onmessage = c),
                                            (r = function () {
                                                u.port2.postMessage(0);
                                            });
                                    }
                                    var l = [];
                                    function c() {
                                        var t, e;
                                        n = !0;
                                        for (var r = l.length; r; ) {
                                            for (e = l, l = [], t = -1; ++t < r; ) e[t]();
                                            r = l.length;
                                        }
                                        n = !1;
                                    }
                                    e.exports = function (t) {
                                        1 !== l.push(t) || n || r();
                                    };
                                }).call(this, void 0 !== i ? i : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
                            },
                            {},
                        ],
                        37: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("immediate");
                                function i() {}
                                var o = {},
                                    a = ["REJECTED"],
                                    s = ["FULFILLED"],
                                    u = ["PENDING"];
                                function l(t) {
                                    if ("function" != typeof t) throw new TypeError("resolver must be a function");
                                    (this.state = u), (this.queue = []), (this.outcome = void 0), t !== i && d(this, t);
                                }
                                function c(t, e, r) {
                                    (this.promise = t),
                                        "function" == typeof e && ((this.onFulfilled = e), (this.callFulfilled = this.otherCallFulfilled)),
                                        "function" == typeof r && ((this.onRejected = r), (this.callRejected = this.otherCallRejected));
                                }
                                function f(t, e, r) {
                                    n(function () {
                                        var n;
                                        try {
                                            n = e(r);
                                        } catch (n) {
                                            return o.reject(t, n);
                                        }
                                        n === t ? o.reject(t, new TypeError("Cannot resolve promise with itself")) : o.resolve(t, n);
                                    });
                                }
                                function h(t) {
                                    var e = t && t.then;
                                    if (t && ("object" == typeof t || "function" == typeof t) && "function" == typeof e)
                                        return function () {
                                            e.apply(t, arguments);
                                        };
                                }
                                function d(t, e) {
                                    var r = !1;
                                    function n(e) {
                                        r || ((r = !0), o.reject(t, e));
                                    }
                                    function i(e) {
                                        r || ((r = !0), o.resolve(t, e));
                                    }
                                    var a = p(function () {
                                        e(i, n);
                                    });
                                    "error" === a.status && n(a.value);
                                }
                                function p(t, e) {
                                    var r = {};
                                    try {
                                        (r.value = t(e)), (r.status = "success");
                                    } catch (t) {
                                        (r.status = "error"), (r.value = t);
                                    }
                                    return r;
                                }
                                ((e.exports = l).prototype.finally = function (t) {
                                    if ("function" != typeof t) return this;
                                    var e = this.constructor;
                                    return this.then(
                                        function (r) {
                                            return e.resolve(t()).then(function () {
                                                return r;
                                            });
                                        },
                                        function (r) {
                                            return e.resolve(t()).then(function () {
                                                throw r;
                                            });
                                        }
                                    );
                                }),
                                    (l.prototype.catch = function (t) {
                                        return this.then(null, t);
                                    }),
                                    (l.prototype.then = function (t, e) {
                                        if (("function" != typeof t && this.state === s) || ("function" != typeof e && this.state === a)) return this;
                                        var r = new this.constructor(i);
                                        return this.state !== u ? f(r, this.state === s ? t : e, this.outcome) : this.queue.push(new c(r, t, e)), r;
                                    }),
                                    (c.prototype.callFulfilled = function (t) {
                                        o.resolve(this.promise, t);
                                    }),
                                    (c.prototype.otherCallFulfilled = function (t) {
                                        f(this.promise, this.onFulfilled, t);
                                    }),
                                    (c.prototype.callRejected = function (t) {
                                        o.reject(this.promise, t);
                                    }),
                                    (c.prototype.otherCallRejected = function (t) {
                                        f(this.promise, this.onRejected, t);
                                    }),
                                    (o.resolve = function (t, e) {
                                        var r = p(h, e);
                                        if ("error" === r.status) return o.reject(t, r.value);
                                        var n = r.value;
                                        if (n) d(t, n);
                                        else {
                                            (t.state = s), (t.outcome = e);
                                            for (var i = -1, a = t.queue.length; ++i < a; ) t.queue[i].callFulfilled(e);
                                        }
                                        return t;
                                    }),
                                    (o.reject = function (t, e) {
                                        (t.state = a), (t.outcome = e);
                                        for (var r = -1, n = t.queue.length; ++r < n; ) t.queue[r].callRejected(e);
                                        return t;
                                    }),
                                    (l.resolve = function (t) {
                                        return t instanceof this ? t : o.resolve(new this(i), t);
                                    }),
                                    (l.reject = function (t) {
                                        var e = new this(i);
                                        return o.reject(e, t);
                                    }),
                                    (l.all = function (t) {
                                        var e = this;
                                        if ("[object Array]" !== Object.prototype.toString.call(t)) return this.reject(new TypeError("must be an array"));
                                        var r = t.length,
                                            n = !1;
                                        if (!r) return this.resolve([]);
                                        for (var a = new Array(r), s = 0, u = -1, l = new this(i); ++u < r; ) c(t[u], u);
                                        return l;
                                        function c(t, i) {
                                            e.resolve(t).then(
                                                function (t) {
                                                    (a[i] = t), ++s !== r || n || ((n = !0), o.resolve(l, a));
                                                },
                                                function (t) {
                                                    n || ((n = !0), o.reject(l, t));
                                                }
                                            );
                                        }
                                    }),
                                    (l.race = function (t) {
                                        if ("[object Array]" !== Object.prototype.toString.call(t)) return this.reject(new TypeError("must be an array"));
                                        var e = t.length,
                                            r = !1;
                                        if (!e) return this.resolve([]);
                                        for (var n, a = -1, s = new this(i); ++a < e; )
                                            (n = t[a]),
                                                this.resolve(n).then(
                                                    function (t) {
                                                        r || ((r = !0), o.resolve(s, t));
                                                    },
                                                    function (t) {
                                                        r || ((r = !0), o.reject(s, t));
                                                    }
                                                );
                                        return s;
                                    });
                            },
                            { immediate: 36 },
                        ],
                        38: [
                            function (t, e, r) {
                                "use strict";
                                var n = {};
                                (0, t("./lib/utils/common").assign)(n, t("./lib/deflate"), t("./lib/inflate"), t("./lib/zlib/constants")), (e.exports = n);
                            },
                            { "./lib/deflate": 39, "./lib/inflate": 40, "./lib/utils/common": 41, "./lib/zlib/constants": 44 },
                        ],
                        39: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./zlib/deflate"),
                                    i = t("./utils/common"),
                                    o = t("./utils/strings"),
                                    a = t("./zlib/messages"),
                                    s = t("./zlib/zstream"),
                                    u = Object.prototype.toString;
                                function l(t) {
                                    if (!(this instanceof l)) return new l(t);
                                    this.options = i.assign(
                                        { level: -1, method: 8, chunkSize: 16384, windowBits: 15, memLevel: 8, strategy: 0, to: "" },
                                        t || {}
                                    );
                                    var e = this.options;
                                    e.raw && 0 < e.windowBits
                                        ? (e.windowBits = -e.windowBits)
                                        : e.gzip && 0 < e.windowBits && e.windowBits < 16 && (e.windowBits += 16),
                                        (this.err = 0),
                                        (this.msg = ""),
                                        (this.ended = !1),
                                        (this.chunks = []),
                                        (this.strm = new s()),
                                        (this.strm.avail_out = 0);
                                    var r = n.deflateInit2(this.strm, e.level, e.method, e.windowBits, e.memLevel, e.strategy);
                                    if (0 !== r) throw new Error(a[r]);
                                    if ((e.header && n.deflateSetHeader(this.strm, e.header), e.dictionary)) {
                                        var c;
                                        if (
                                            ((c =
                                                "string" == typeof e.dictionary
                                                    ? o.string2buf(e.dictionary)
                                                    : "[object ArrayBuffer]" === u.call(e.dictionary)
                                                    ? new Uint8Array(e.dictionary)
                                                    : e.dictionary),
                                            0 !== (r = n.deflateSetDictionary(this.strm, c)))
                                        )
                                            throw new Error(a[r]);
                                        this._dict_set = !0;
                                    }
                                }
                                function c(t, e) {
                                    var r = new l(e);
                                    if ((r.push(t, !0), r.err)) throw r.msg || a[r.err];
                                    return r.result;
                                }
                                (l.prototype.push = function (t, e) {
                                    var r,
                                        a,
                                        s = this.strm,
                                        l = this.options.chunkSize;
                                    if (this.ended) return !1;
                                    (a = e === ~~e ? e : !0 === e ? 4 : 0),
                                        "string" == typeof t
                                            ? (s.input = o.string2buf(t))
                                            : "[object ArrayBuffer]" === u.call(t)
                                            ? (s.input = new Uint8Array(t))
                                            : (s.input = t),
                                        (s.next_in = 0),
                                        (s.avail_in = s.input.length);
                                    do {
                                        if (
                                            (0 === s.avail_out && ((s.output = new i.Buf8(l)), (s.next_out = 0), (s.avail_out = l)),
                                            1 !== (r = n.deflate(s, a)) && 0 !== r)
                                        )
                                            return this.onEnd(r), !(this.ended = !0);
                                        (0 !== s.avail_out && (0 !== s.avail_in || (4 !== a && 2 !== a))) ||
                                            ("string" === this.options.to
                                                ? this.onData(o.buf2binstring(i.shrinkBuf(s.output, s.next_out)))
                                                : this.onData(i.shrinkBuf(s.output, s.next_out)));
                                    } while ((0 < s.avail_in || 0 === s.avail_out) && 1 !== r);
                                    return 4 === a
                                        ? ((r = n.deflateEnd(this.strm)), this.onEnd(r), (this.ended = !0), 0 === r)
                                        : 2 !== a || (this.onEnd(0), !(s.avail_out = 0));
                                }),
                                    (l.prototype.onData = function (t) {
                                        this.chunks.push(t);
                                    }),
                                    (l.prototype.onEnd = function (t) {
                                        0 === t &&
                                            ("string" === this.options.to
                                                ? (this.result = this.chunks.join(""))
                                                : (this.result = i.flattenChunks(this.chunks))),
                                            (this.chunks = []),
                                            (this.err = t),
                                            (this.msg = this.strm.msg);
                                    }),
                                    (r.Deflate = l),
                                    (r.deflate = c),
                                    (r.deflateRaw = function (t, e) {
                                        return ((e = e || {}).raw = !0), c(t, e);
                                    }),
                                    (r.gzip = function (t, e) {
                                        return ((e = e || {}).gzip = !0), c(t, e);
                                    });
                            },
                            { "./utils/common": 41, "./utils/strings": 42, "./zlib/deflate": 46, "./zlib/messages": 51, "./zlib/zstream": 53 },
                        ],
                        40: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./zlib/inflate"),
                                    i = t("./utils/common"),
                                    o = t("./utils/strings"),
                                    a = t("./zlib/constants"),
                                    s = t("./zlib/messages"),
                                    u = t("./zlib/zstream"),
                                    l = t("./zlib/gzheader"),
                                    c = Object.prototype.toString;
                                function f(t) {
                                    if (!(this instanceof f)) return new f(t);
                                    this.options = i.assign({ chunkSize: 16384, windowBits: 0, to: "" }, t || {});
                                    var e = this.options;
                                    e.raw &&
                                        0 <= e.windowBits &&
                                        e.windowBits < 16 &&
                                        ((e.windowBits = -e.windowBits), 0 === e.windowBits && (e.windowBits = -15)),
                                        !(0 <= e.windowBits && e.windowBits < 16) || (t && t.windowBits) || (e.windowBits += 32),
                                        15 < e.windowBits && e.windowBits < 48 && 0 == (15 & e.windowBits) && (e.windowBits |= 15),
                                        (this.err = 0),
                                        (this.msg = ""),
                                        (this.ended = !1),
                                        (this.chunks = []),
                                        (this.strm = new u()),
                                        (this.strm.avail_out = 0);
                                    var r = n.inflateInit2(this.strm, e.windowBits);
                                    if (r !== a.Z_OK) throw new Error(s[r]);
                                    (this.header = new l()), n.inflateGetHeader(this.strm, this.header);
                                }
                                function h(t, e) {
                                    var r = new f(e);
                                    if ((r.push(t, !0), r.err)) throw r.msg || s[r.err];
                                    return r.result;
                                }
                                (f.prototype.push = function (t, e) {
                                    var r,
                                        s,
                                        u,
                                        l,
                                        f,
                                        h,
                                        d = this.strm,
                                        p = this.options.chunkSize,
                                        m = this.options.dictionary,
                                        g = !1;
                                    if (this.ended) return !1;
                                    (s = e === ~~e ? e : !0 === e ? a.Z_FINISH : a.Z_NO_FLUSH),
                                        "string" == typeof t
                                            ? (d.input = o.binstring2buf(t))
                                            : "[object ArrayBuffer]" === c.call(t)
                                            ? (d.input = new Uint8Array(t))
                                            : (d.input = t),
                                        (d.next_in = 0),
                                        (d.avail_in = d.input.length);
                                    do {
                                        if (
                                            (0 === d.avail_out && ((d.output = new i.Buf8(p)), (d.next_out = 0), (d.avail_out = p)),
                                            (r = n.inflate(d, a.Z_NO_FLUSH)) === a.Z_NEED_DICT &&
                                                m &&
                                                ((h = "string" == typeof m ? o.string2buf(m) : "[object ArrayBuffer]" === c.call(m) ? new Uint8Array(m) : m),
                                                (r = n.inflateSetDictionary(this.strm, h))),
                                            r === a.Z_BUF_ERROR && !0 === g && ((r = a.Z_OK), (g = !1)),
                                            r !== a.Z_STREAM_END && r !== a.Z_OK)
                                        )
                                            return this.onEnd(r), !(this.ended = !0);
                                        d.next_out &&
                                            ((0 !== d.avail_out && r !== a.Z_STREAM_END && (0 !== d.avail_in || (s !== a.Z_FINISH && s !== a.Z_SYNC_FLUSH))) ||
                                                ("string" === this.options.to
                                                    ? ((u = o.utf8border(d.output, d.next_out)),
                                                      (l = d.next_out - u),
                                                      (f = o.buf2string(d.output, u)),
                                                      (d.next_out = l),
                                                      (d.avail_out = p - l),
                                                      l && i.arraySet(d.output, d.output, u, l, 0),
                                                      this.onData(f))
                                                    : this.onData(i.shrinkBuf(d.output, d.next_out)))),
                                            0 === d.avail_in && 0 === d.avail_out && (g = !0);
                                    } while ((0 < d.avail_in || 0 === d.avail_out) && r !== a.Z_STREAM_END);
                                    return (
                                        r === a.Z_STREAM_END && (s = a.Z_FINISH),
                                        s === a.Z_FINISH
                                            ? ((r = n.inflateEnd(this.strm)), this.onEnd(r), (this.ended = !0), r === a.Z_OK)
                                            : s !== a.Z_SYNC_FLUSH || (this.onEnd(a.Z_OK), !(d.avail_out = 0))
                                    );
                                }),
                                    (f.prototype.onData = function (t) {
                                        this.chunks.push(t);
                                    }),
                                    (f.prototype.onEnd = function (t) {
                                        t === a.Z_OK &&
                                            ("string" === this.options.to
                                                ? (this.result = this.chunks.join(""))
                                                : (this.result = i.flattenChunks(this.chunks))),
                                            (this.chunks = []),
                                            (this.err = t),
                                            (this.msg = this.strm.msg);
                                    }),
                                    (r.Inflate = f),
                                    (r.inflate = h),
                                    (r.inflateRaw = function (t, e) {
                                        return ((e = e || {}).raw = !0), h(t, e);
                                    }),
                                    (r.ungzip = h);
                            },
                            {
                                "./utils/common": 41,
                                "./utils/strings": 42,
                                "./zlib/constants": 44,
                                "./zlib/gzheader": 47,
                                "./zlib/inflate": 49,
                                "./zlib/messages": 51,
                                "./zlib/zstream": 53,
                            },
                        ],
                        41: [
                            function (t, e, r) {
                                "use strict";
                                var n = "undefined" != typeof Uint8Array && "undefined" != typeof Uint16Array && "undefined" != typeof Int32Array;
                                (r.assign = function (t) {
                                    for (var e = Array.prototype.slice.call(arguments, 1); e.length; ) {
                                        var r = e.shift();
                                        if (r) {
                                            if ("object" != typeof r) throw new TypeError(r + "must be non-object");
                                            for (var n in r) r.hasOwnProperty(n) && (t[n] = r[n]);
                                        }
                                    }
                                    return t;
                                }),
                                    (r.shrinkBuf = function (t, e) {
                                        return t.length === e ? t : t.subarray ? t.subarray(0, e) : ((t.length = e), t);
                                    });
                                var i = {
                                        arraySet: function (t, e, r, n, i) {
                                            if (e.subarray && t.subarray) t.set(e.subarray(r, r + n), i);
                                            else for (var o = 0; o < n; o++) t[i + o] = e[r + o];
                                        },
                                        flattenChunks: function (t) {
                                            var e, r, n, i, o, a;
                                            for (e = n = 0, r = t.length; e < r; e++) n += t[e].length;
                                            for (a = new Uint8Array(n), e = i = 0, r = t.length; e < r; e++) (o = t[e]), a.set(o, i), (i += o.length);
                                            return a;
                                        },
                                    },
                                    o = {
                                        arraySet: function (t, e, r, n, i) {
                                            for (var o = 0; o < n; o++) t[i + o] = e[r + o];
                                        },
                                        flattenChunks: function (t) {
                                            return [].concat.apply([], t);
                                        },
                                    };
                                (r.setTyped = function (t) {
                                    t
                                        ? ((r.Buf8 = Uint8Array), (r.Buf16 = Uint16Array), (r.Buf32 = Int32Array), r.assign(r, i))
                                        : ((r.Buf8 = Array), (r.Buf16 = Array), (r.Buf32 = Array), r.assign(r, o));
                                }),
                                    r.setTyped(n);
                            },
                            {},
                        ],
                        42: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("./common"),
                                    i = !0,
                                    o = !0;
                                try {
                                    String.fromCharCode.apply(null, [0]);
                                } catch (t) {
                                    i = !1;
                                }
                                try {
                                    String.fromCharCode.apply(null, new Uint8Array(1));
                                } catch (t) {
                                    o = !1;
                                }
                                for (var a = new n.Buf8(256), s = 0; s < 256; s++)
                                    a[s] = 252 <= s ? 6 : 248 <= s ? 5 : 240 <= s ? 4 : 224 <= s ? 3 : 192 <= s ? 2 : 1;
                                function u(t, e) {
                                    if (e < 65537 && ((t.subarray && o) || (!t.subarray && i))) return String.fromCharCode.apply(null, n.shrinkBuf(t, e));
                                    for (var r = "", a = 0; a < e; a++) r += String.fromCharCode(t[a]);
                                    return r;
                                }
                                (a[254] = a[254] = 1),
                                    (r.string2buf = function (t) {
                                        var e,
                                            r,
                                            i,
                                            o,
                                            a,
                                            s = t.length,
                                            u = 0;
                                        for (o = 0; o < s; o++)
                                            55296 == (64512 & (r = t.charCodeAt(o))) &&
                                                o + 1 < s &&
                                                56320 == (64512 & (i = t.charCodeAt(o + 1))) &&
                                                ((r = 65536 + ((r - 55296) << 10) + (i - 56320)), o++),
                                                (u += r < 128 ? 1 : r < 2048 ? 2 : r < 65536 ? 3 : 4);
                                        for (e = new n.Buf8(u), o = a = 0; a < u; o++)
                                            55296 == (64512 & (r = t.charCodeAt(o))) &&
                                                o + 1 < s &&
                                                56320 == (64512 & (i = t.charCodeAt(o + 1))) &&
                                                ((r = 65536 + ((r - 55296) << 10) + (i - 56320)), o++),
                                                r < 128
                                                    ? (e[a++] = r)
                                                    : (r < 2048
                                                          ? (e[a++] = 192 | (r >>> 6))
                                                          : (r < 65536
                                                                ? (e[a++] = 224 | (r >>> 12))
                                                                : ((e[a++] = 240 | (r >>> 18)), (e[a++] = 128 | ((r >>> 12) & 63))),
                                                            (e[a++] = 128 | ((r >>> 6) & 63))),
                                                      (e[a++] = 128 | (63 & r)));
                                        return e;
                                    }),
                                    (r.buf2binstring = function (t) {
                                        return u(t, t.length);
                                    }),
                                    (r.binstring2buf = function (t) {
                                        for (var e = new n.Buf8(t.length), r = 0, i = e.length; r < i; r++) e[r] = t.charCodeAt(r);
                                        return e;
                                    }),
                                    (r.buf2string = function (t, e) {
                                        var r,
                                            n,
                                            i,
                                            o,
                                            s = e || t.length,
                                            l = new Array(2 * s);
                                        for (r = n = 0; r < s; )
                                            if ((i = t[r++]) < 128) l[n++] = i;
                                            else if (4 < (o = a[i])) (l[n++] = 65533), (r += o - 1);
                                            else {
                                                for (i &= 2 === o ? 31 : 3 === o ? 15 : 7; 1 < o && r < s; ) (i = (i << 6) | (63 & t[r++])), o--;
                                                1 < o
                                                    ? (l[n++] = 65533)
                                                    : i < 65536
                                                    ? (l[n++] = i)
                                                    : ((i -= 65536), (l[n++] = 55296 | ((i >> 10) & 1023)), (l[n++] = 56320 | (1023 & i)));
                                            }
                                        return u(l, n);
                                    }),
                                    (r.utf8border = function (t, e) {
                                        var r;
                                        for ((e = e || t.length) > t.length && (e = t.length), r = e - 1; 0 <= r && 128 == (192 & t[r]); ) r--;
                                        return r < 0 || 0 === r ? e : r + a[t[r]] > e ? r : e;
                                    });
                            },
                            { "./common": 41 },
                        ],
                        43: [
                            function (t, e, r) {
                                "use strict";
                                e.exports = function (t, e, r, n) {
                                    for (var i = (65535 & t) | 0, o = ((t >>> 16) & 65535) | 0, a = 0; 0 !== r; ) {
                                        for (r -= a = 2e3 < r ? 2e3 : r; (o = (o + (i = (i + e[n++]) | 0)) | 0), --a; );
                                        (i %= 65521), (o %= 65521);
                                    }
                                    return i | (o << 16) | 0;
                                };
                            },
                            {},
                        ],
                        44: [
                            function (t, e, r) {
                                "use strict";
                                e.exports = {
                                    Z_NO_FLUSH: 0,
                                    Z_PARTIAL_FLUSH: 1,
                                    Z_SYNC_FLUSH: 2,
                                    Z_FULL_FLUSH: 3,
                                    Z_FINISH: 4,
                                    Z_BLOCK: 5,
                                    Z_TREES: 6,
                                    Z_OK: 0,
                                    Z_STREAM_END: 1,
                                    Z_NEED_DICT: 2,
                                    Z_ERRNO: -1,
                                    Z_STREAM_ERROR: -2,
                                    Z_DATA_ERROR: -3,
                                    Z_BUF_ERROR: -5,
                                    Z_NO_COMPRESSION: 0,
                                    Z_BEST_SPEED: 1,
                                    Z_BEST_COMPRESSION: 9,
                                    Z_DEFAULT_COMPRESSION: -1,
                                    Z_FILTERED: 1,
                                    Z_HUFFMAN_ONLY: 2,
                                    Z_RLE: 3,
                                    Z_FIXED: 4,
                                    Z_DEFAULT_STRATEGY: 0,
                                    Z_BINARY: 0,
                                    Z_TEXT: 1,
                                    Z_UNKNOWN: 2,
                                    Z_DEFLATED: 8,
                                };
                            },
                            {},
                        ],
                        45: [
                            function (t, e, r) {
                                "use strict";
                                var n = (function () {
                                    for (var t, e = [], r = 0; r < 256; r++) {
                                        t = r;
                                        for (var n = 0; n < 8; n++) t = 1 & t ? 3988292384 ^ (t >>> 1) : t >>> 1;
                                        e[r] = t;
                                    }
                                    return e;
                                })();
                                e.exports = function (t, e, r, i) {
                                    var o = n,
                                        a = i + r;
                                    t ^= -1;
                                    for (var s = i; s < a; s++) t = (t >>> 8) ^ o[255 & (t ^ e[s])];
                                    return -1 ^ t;
                                };
                            },
                            {},
                        ],
                        46: [
                            function (t, e, r) {
                                "use strict";
                                var n,
                                    i = t("../utils/common"),
                                    o = t("./trees"),
                                    a = t("./adler32"),
                                    s = t("./crc32"),
                                    u = t("./messages"),
                                    l = -2,
                                    c = 258,
                                    f = 262,
                                    h = 113;
                                function d(t, e) {
                                    return (t.msg = u[e]), e;
                                }
                                function p(t) {
                                    return (t << 1) - (4 < t ? 9 : 0);
                                }
                                function m(t) {
                                    for (var e = t.length; 0 <= --e; ) t[e] = 0;
                                }
                                function g(t) {
                                    var e = t.state,
                                        r = e.pending;
                                    r > t.avail_out && (r = t.avail_out),
                                        0 !== r &&
                                            (i.arraySet(t.output, e.pending_buf, e.pending_out, r, t.next_out),
                                            (t.next_out += r),
                                            (e.pending_out += r),
                                            (t.total_out += r),
                                            (t.avail_out -= r),
                                            (e.pending -= r),
                                            0 === e.pending && (e.pending_out = 0));
                                }
                                function y(t, e) {
                                    o._tr_flush_block(t, 0 <= t.block_start ? t.block_start : -1, t.strstart - t.block_start, e),
                                        (t.block_start = t.strstart),
                                        g(t.strm);
                                }
                                function v(t, e) {
                                    t.pending_buf[t.pending++] = e;
                                }
                                function _(t, e) {
                                    (t.pending_buf[t.pending++] = (e >>> 8) & 255), (t.pending_buf[t.pending++] = 255 & e);
                                }
                                function w(t, e) {
                                    var r,
                                        n,
                                        i = t.max_chain_length,
                                        o = t.strstart,
                                        a = t.prev_length,
                                        s = t.nice_match,
                                        u = t.strstart > t.w_size - f ? t.strstart - (t.w_size - f) : 0,
                                        l = t.window,
                                        h = t.w_mask,
                                        d = t.prev,
                                        p = t.strstart + c,
                                        m = l[o + a - 1],
                                        g = l[o + a];
                                    t.prev_length >= t.good_match && (i >>= 2), s > t.lookahead && (s = t.lookahead);
                                    do {
                                        if (l[(r = e) + a] === g && l[r + a - 1] === m && l[r] === l[o] && l[++r] === l[o + 1]) {
                                            (o += 2), r++;
                                            do {} while (
                                                l[++o] === l[++r] &&
                                                l[++o] === l[++r] &&
                                                l[++o] === l[++r] &&
                                                l[++o] === l[++r] &&
                                                l[++o] === l[++r] &&
                                                l[++o] === l[++r] &&
                                                l[++o] === l[++r] &&
                                                l[++o] === l[++r] &&
                                                o < p
                                            );
                                            if (((n = c - (p - o)), (o = p - c), a < n)) {
                                                if (((t.match_start = e), s <= (a = n))) break;
                                                (m = l[o + a - 1]), (g = l[o + a]);
                                            }
                                        }
                                    } while ((e = d[e & h]) > u && 0 != --i);
                                    return a <= t.lookahead ? a : t.lookahead;
                                }
                                function b(t) {
                                    var e,
                                        r,
                                        n,
                                        o,
                                        u,
                                        l,
                                        c,
                                        h,
                                        d,
                                        p,
                                        m = t.w_size;
                                    do {
                                        if (((o = t.window_size - t.lookahead - t.strstart), t.strstart >= m + (m - f))) {
                                            for (
                                                i.arraySet(t.window, t.window, m, m, 0),
                                                    t.match_start -= m,
                                                    t.strstart -= m,
                                                    t.block_start -= m,
                                                    e = r = t.hash_size;
                                                (n = t.head[--e]), (t.head[e] = m <= n ? n - m : 0), --r;

                                            );
                                            for (e = r = m; (n = t.prev[--e]), (t.prev[e] = m <= n ? n - m : 0), --r; );
                                            o += m;
                                        }
                                        if (0 === t.strm.avail_in) break;
                                        if (
                                            ((l = t.strm),
                                            (c = t.window),
                                            (h = t.strstart + t.lookahead),
                                            (p = void 0),
                                            (d = o) < (p = l.avail_in) && (p = d),
                                            (r =
                                                0 === p
                                                    ? 0
                                                    : ((l.avail_in -= p),
                                                      i.arraySet(c, l.input, l.next_in, p, h),
                                                      1 === l.state.wrap
                                                          ? (l.adler = a(l.adler, c, p, h))
                                                          : 2 === l.state.wrap && (l.adler = s(l.adler, c, p, h)),
                                                      (l.next_in += p),
                                                      (l.total_in += p),
                                                      p)),
                                            (t.lookahead += r),
                                            t.lookahead + t.insert >= 3)
                                        )
                                            for (
                                                u = t.strstart - t.insert,
                                                    t.ins_h = t.window[u],
                                                    t.ins_h = ((t.ins_h << t.hash_shift) ^ t.window[u + 1]) & t.hash_mask;
                                                t.insert &&
                                                ((t.ins_h = ((t.ins_h << t.hash_shift) ^ t.window[u + 3 - 1]) & t.hash_mask),
                                                (t.prev[u & t.w_mask] = t.head[t.ins_h]),
                                                (t.head[t.ins_h] = u),
                                                u++,
                                                t.insert--,
                                                !(t.lookahead + t.insert < 3));

                                            );
                                    } while (t.lookahead < f && 0 !== t.strm.avail_in);
                                }
                                function k(t, e) {
                                    for (var r, n; ; ) {
                                        if (t.lookahead < f) {
                                            if ((b(t), t.lookahead < f && 0 === e)) return 1;
                                            if (0 === t.lookahead) break;
                                        }
                                        if (
                                            ((r = 0),
                                            t.lookahead >= 3 &&
                                                ((t.ins_h = ((t.ins_h << t.hash_shift) ^ t.window[t.strstart + 3 - 1]) & t.hash_mask),
                                                (r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h]),
                                                (t.head[t.ins_h] = t.strstart)),
                                            0 !== r && t.strstart - r <= t.w_size - f && (t.match_length = w(t, r)),
                                            t.match_length >= 3)
                                        )
                                            if (
                                                ((n = o._tr_tally(t, t.strstart - t.match_start, t.match_length - 3)),
                                                (t.lookahead -= t.match_length),
                                                t.match_length <= t.max_lazy_match && t.lookahead >= 3)
                                            ) {
                                                for (
                                                    t.match_length--;
                                                    t.strstart++,
                                                        (t.ins_h = ((t.ins_h << t.hash_shift) ^ t.window[t.strstart + 3 - 1]) & t.hash_mask),
                                                        (r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h]),
                                                        (t.head[t.ins_h] = t.strstart),
                                                        0 != --t.match_length;

                                                );
                                                t.strstart++;
                                            } else
                                                (t.strstart += t.match_length),
                                                    (t.match_length = 0),
                                                    (t.ins_h = t.window[t.strstart]),
                                                    (t.ins_h = ((t.ins_h << t.hash_shift) ^ t.window[t.strstart + 1]) & t.hash_mask);
                                        else (n = o._tr_tally(t, 0, t.window[t.strstart])), t.lookahead--, t.strstart++;
                                        if (n && (y(t, !1), 0 === t.strm.avail_out)) return 1;
                                    }
                                    return (
                                        (t.insert = t.strstart < 2 ? t.strstart : 2),
                                        4 === e ? (y(t, !0), 0 === t.strm.avail_out ? 3 : 4) : t.last_lit && (y(t, !1), 0 === t.strm.avail_out) ? 1 : 2
                                    );
                                }
                                function x(t, e) {
                                    for (var r, n, i; ; ) {
                                        if (t.lookahead < f) {
                                            if ((b(t), t.lookahead < f && 0 === e)) return 1;
                                            if (0 === t.lookahead) break;
                                        }
                                        if (
                                            ((r = 0),
                                            t.lookahead >= 3 &&
                                                ((t.ins_h = ((t.ins_h << t.hash_shift) ^ t.window[t.strstart + 3 - 1]) & t.hash_mask),
                                                (r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h]),
                                                (t.head[t.ins_h] = t.strstart)),
                                            (t.prev_length = t.match_length),
                                            (t.prev_match = t.match_start),
                                            (t.match_length = 2),
                                            0 !== r &&
                                                t.prev_length < t.max_lazy_match &&
                                                t.strstart - r <= t.w_size - f &&
                                                ((t.match_length = w(t, r)),
                                                t.match_length <= 5 &&
                                                    (1 === t.strategy || (3 === t.match_length && 4096 < t.strstart - t.match_start)) &&
                                                    (t.match_length = 2)),
                                            t.prev_length >= 3 && t.match_length <= t.prev_length)
                                        ) {
                                            for (
                                                i = t.strstart + t.lookahead - 3,
                                                    n = o._tr_tally(t, t.strstart - 1 - t.prev_match, t.prev_length - 3),
                                                    t.lookahead -= t.prev_length - 1,
                                                    t.prev_length -= 2;
                                                ++t.strstart <= i &&
                                                    ((t.ins_h = ((t.ins_h << t.hash_shift) ^ t.window[t.strstart + 3 - 1]) & t.hash_mask),
                                                    (r = t.prev[t.strstart & t.w_mask] = t.head[t.ins_h]),
                                                    (t.head[t.ins_h] = t.strstart)),
                                                    0 != --t.prev_length;

                                            );
                                            if (((t.match_available = 0), (t.match_length = 2), t.strstart++, n && (y(t, !1), 0 === t.strm.avail_out)))
                                                return 1;
                                        } else if (t.match_available) {
                                            if (
                                                ((n = o._tr_tally(t, 0, t.window[t.strstart - 1])) && y(t, !1),
                                                t.strstart++,
                                                t.lookahead--,
                                                0 === t.strm.avail_out)
                                            )
                                                return 1;
                                        } else (t.match_available = 1), t.strstart++, t.lookahead--;
                                    }
                                    return (
                                        t.match_available && ((n = o._tr_tally(t, 0, t.window[t.strstart - 1])), (t.match_available = 0)),
                                        (t.insert = t.strstart < 2 ? t.strstart : 2),
                                        4 === e ? (y(t, !0), 0 === t.strm.avail_out ? 3 : 4) : t.last_lit && (y(t, !1), 0 === t.strm.avail_out) ? 1 : 2
                                    );
                                }
                                function E(t, e, r, n, i) {
                                    (this.good_length = t), (this.max_lazy = e), (this.nice_length = r), (this.max_chain = n), (this.func = i);
                                }
                                function S() {
                                    (this.strm = null),
                                        (this.status = 0),
                                        (this.pending_buf = null),
                                        (this.pending_buf_size = 0),
                                        (this.pending_out = 0),
                                        (this.pending = 0),
                                        (this.wrap = 0),
                                        (this.gzhead = null),
                                        (this.gzindex = 0),
                                        (this.method = 8),
                                        (this.last_flush = -1),
                                        (this.w_size = 0),
                                        (this.w_bits = 0),
                                        (this.w_mask = 0),
                                        (this.window = null),
                                        (this.window_size = 0),
                                        (this.prev = null),
                                        (this.head = null),
                                        (this.ins_h = 0),
                                        (this.hash_size = 0),
                                        (this.hash_bits = 0),
                                        (this.hash_mask = 0),
                                        (this.hash_shift = 0),
                                        (this.block_start = 0),
                                        (this.match_length = 0),
                                        (this.prev_match = 0),
                                        (this.match_available = 0),
                                        (this.strstart = 0),
                                        (this.match_start = 0),
                                        (this.lookahead = 0),
                                        (this.prev_length = 0),
                                        (this.max_chain_length = 0),
                                        (this.max_lazy_match = 0),
                                        (this.level = 0),
                                        (this.strategy = 0),
                                        (this.good_match = 0),
                                        (this.nice_match = 0),
                                        (this.dyn_ltree = new i.Buf16(1146)),
                                        (this.dyn_dtree = new i.Buf16(122)),
                                        (this.bl_tree = new i.Buf16(78)),
                                        m(this.dyn_ltree),
                                        m(this.dyn_dtree),
                                        m(this.bl_tree),
                                        (this.l_desc = null),
                                        (this.d_desc = null),
                                        (this.bl_desc = null),
                                        (this.bl_count = new i.Buf16(16)),
                                        (this.heap = new i.Buf16(573)),
                                        m(this.heap),
                                        (this.heap_len = 0),
                                        (this.heap_max = 0),
                                        (this.depth = new i.Buf16(573)),
                                        m(this.depth),
                                        (this.l_buf = 0),
                                        (this.lit_bufsize = 0),
                                        (this.last_lit = 0),
                                        (this.d_buf = 0),
                                        (this.opt_len = 0),
                                        (this.static_len = 0),
                                        (this.matches = 0),
                                        (this.insert = 0),
                                        (this.bi_buf = 0),
                                        (this.bi_valid = 0);
                                }
                                function A(t) {
                                    var e;
                                    return t && t.state
                                        ? ((t.total_in = t.total_out = 0),
                                          (t.data_type = 2),
                                          ((e = t.state).pending = 0),
                                          (e.pending_out = 0),
                                          e.wrap < 0 && (e.wrap = -e.wrap),
                                          (e.status = e.wrap ? 42 : h),
                                          (t.adler = 2 === e.wrap ? 0 : 1),
                                          (e.last_flush = 0),
                                          o._tr_init(e),
                                          0)
                                        : d(t, l);
                                }
                                function T(t) {
                                    var e = A(t);
                                    return (
                                        0 === e &&
                                            (function (t) {
                                                (t.window_size = 2 * t.w_size),
                                                    m(t.head),
                                                    (t.max_lazy_match = n[t.level].max_lazy),
                                                    (t.good_match = n[t.level].good_length),
                                                    (t.nice_match = n[t.level].nice_length),
                                                    (t.max_chain_length = n[t.level].max_chain),
                                                    (t.strstart = 0),
                                                    (t.block_start = 0),
                                                    (t.lookahead = 0),
                                                    (t.insert = 0),
                                                    (t.match_length = t.prev_length = 2),
                                                    (t.match_available = 0),
                                                    (t.ins_h = 0);
                                            })(t.state),
                                        e
                                    );
                                }
                                function C(t, e, r, n, o, a) {
                                    if (!t) return l;
                                    var s = 1;
                                    if (
                                        (-1 === e && (e = 6),
                                        n < 0 ? ((s = 0), (n = -n)) : 15 < n && ((s = 2), (n -= 16)),
                                        o < 1 || 9 < o || 8 !== r || n < 8 || 15 < n || e < 0 || 9 < e || a < 0 || 4 < a)
                                    )
                                        return d(t, l);
                                    8 === n && (n = 9);
                                    var u = new S();
                                    return (
                                        ((t.state = u).strm = t),
                                        (u.wrap = s),
                                        (u.gzhead = null),
                                        (u.w_bits = n),
                                        (u.w_size = 1 << u.w_bits),
                                        (u.w_mask = u.w_size - 1),
                                        (u.hash_bits = o + 7),
                                        (u.hash_size = 1 << u.hash_bits),
                                        (u.hash_mask = u.hash_size - 1),
                                        (u.hash_shift = ~~((u.hash_bits + 3 - 1) / 3)),
                                        (u.window = new i.Buf8(2 * u.w_size)),
                                        (u.head = new i.Buf16(u.hash_size)),
                                        (u.prev = new i.Buf16(u.w_size)),
                                        (u.lit_bufsize = 1 << (o + 6)),
                                        (u.pending_buf_size = 4 * u.lit_bufsize),
                                        (u.pending_buf = new i.Buf8(u.pending_buf_size)),
                                        (u.d_buf = 1 * u.lit_bufsize),
                                        (u.l_buf = 3 * u.lit_bufsize),
                                        (u.level = e),
                                        (u.strategy = a),
                                        (u.method = r),
                                        T(t)
                                    );
                                }
                                (n = [
                                    new E(0, 0, 0, 0, function (t, e) {
                                        var r = 65535;
                                        for (r > t.pending_buf_size - 5 && (r = t.pending_buf_size - 5); ; ) {
                                            if (t.lookahead <= 1) {
                                                if ((b(t), 0 === t.lookahead && 0 === e)) return 1;
                                                if (0 === t.lookahead) break;
                                            }
                                            (t.strstart += t.lookahead), (t.lookahead = 0);
                                            var n = t.block_start + r;
                                            if (
                                                (0 === t.strstart || t.strstart >= n) &&
                                                ((t.lookahead = t.strstart - n), (t.strstart = n), y(t, !1), 0 === t.strm.avail_out)
                                            )
                                                return 1;
                                            if (t.strstart - t.block_start >= t.w_size - f && (y(t, !1), 0 === t.strm.avail_out)) return 1;
                                        }
                                        return (
                                            (t.insert = 0),
                                            4 === e
                                                ? (y(t, !0), 0 === t.strm.avail_out ? 3 : 4)
                                                : (t.strstart > t.block_start && (y(t, !1), t.strm.avail_out), 1)
                                        );
                                    }),
                                    new E(4, 4, 8, 4, k),
                                    new E(4, 5, 16, 8, k),
                                    new E(4, 6, 32, 32, k),
                                    new E(4, 4, 16, 16, x),
                                    new E(8, 16, 32, 32, x),
                                    new E(8, 16, 128, 128, x),
                                    new E(8, 32, 128, 256, x),
                                    new E(32, 128, 258, 1024, x),
                                    new E(32, 258, 258, 4096, x),
                                ]),
                                    (r.deflateInit = function (t, e) {
                                        return C(t, e, 8, 15, 8, 0);
                                    }),
                                    (r.deflateInit2 = C),
                                    (r.deflateReset = T),
                                    (r.deflateResetKeep = A),
                                    (r.deflateSetHeader = function (t, e) {
                                        return t && t.state ? (2 !== t.state.wrap ? l : ((t.state.gzhead = e), 0)) : l;
                                    }),
                                    (r.deflate = function (t, e) {
                                        var r, i, a, u;
                                        if (!t || !t.state || 5 < e || e < 0) return t ? d(t, l) : l;
                                        if (((i = t.state), !t.output || (!t.input && 0 !== t.avail_in) || (666 === i.status && 4 !== e)))
                                            return d(t, 0 === t.avail_out ? -5 : l);
                                        if (((i.strm = t), (r = i.last_flush), (i.last_flush = e), 42 === i.status))
                                            if (2 === i.wrap)
                                                (t.adler = 0),
                                                    v(i, 31),
                                                    v(i, 139),
                                                    v(i, 8),
                                                    i.gzhead
                                                        ? (v(
                                                              i,
                                                              (i.gzhead.text ? 1 : 0) +
                                                                  (i.gzhead.hcrc ? 2 : 0) +
                                                                  (i.gzhead.extra ? 4 : 0) +
                                                                  (i.gzhead.name ? 8 : 0) +
                                                                  (i.gzhead.comment ? 16 : 0)
                                                          ),
                                                          v(i, 255 & i.gzhead.time),
                                                          v(i, (i.gzhead.time >> 8) & 255),
                                                          v(i, (i.gzhead.time >> 16) & 255),
                                                          v(i, (i.gzhead.time >> 24) & 255),
                                                          v(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0),
                                                          v(i, 255 & i.gzhead.os),
                                                          i.gzhead.extra &&
                                                              i.gzhead.extra.length &&
                                                              (v(i, 255 & i.gzhead.extra.length), v(i, (i.gzhead.extra.length >> 8) & 255)),
                                                          i.gzhead.hcrc && (t.adler = s(t.adler, i.pending_buf, i.pending, 0)),
                                                          (i.gzindex = 0),
                                                          (i.status = 69))
                                                        : (v(i, 0),
                                                          v(i, 0),
                                                          v(i, 0),
                                                          v(i, 0),
                                                          v(i, 0),
                                                          v(i, 9 === i.level ? 2 : 2 <= i.strategy || i.level < 2 ? 4 : 0),
                                                          v(i, 3),
                                                          (i.status = h));
                                            else {
                                                var f = (8 + ((i.w_bits - 8) << 4)) << 8;
                                                (f |= (2 <= i.strategy || i.level < 2 ? 0 : i.level < 6 ? 1 : 6 === i.level ? 2 : 3) << 6),
                                                    0 !== i.strstart && (f |= 32),
                                                    (f += 31 - (f % 31)),
                                                    (i.status = h),
                                                    _(i, f),
                                                    0 !== i.strstart && (_(i, t.adler >>> 16), _(i, 65535 & t.adler)),
                                                    (t.adler = 1);
                                            }
                                        if (69 === i.status)
                                            if (i.gzhead.extra) {
                                                for (
                                                    a = i.pending;
                                                    i.gzindex < (65535 & i.gzhead.extra.length) &&
                                                    (i.pending !== i.pending_buf_size ||
                                                        (i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)),
                                                        g(t),
                                                        (a = i.pending),
                                                        i.pending !== i.pending_buf_size));

                                                )
                                                    v(i, 255 & i.gzhead.extra[i.gzindex]), i.gzindex++;
                                                i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)),
                                                    i.gzindex === i.gzhead.extra.length && ((i.gzindex = 0), (i.status = 73));
                                            } else i.status = 73;
                                        if (73 === i.status)
                                            if (i.gzhead.name) {
                                                a = i.pending;
                                                do {
                                                    if (
                                                        i.pending === i.pending_buf_size &&
                                                        (i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)),
                                                        g(t),
                                                        (a = i.pending),
                                                        i.pending === i.pending_buf_size)
                                                    ) {
                                                        u = 1;
                                                        break;
                                                    }
                                                    (u = i.gzindex < i.gzhead.name.length ? 255 & i.gzhead.name.charCodeAt(i.gzindex++) : 0), v(i, u);
                                                } while (0 !== u);
                                                i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)),
                                                    0 === u && ((i.gzindex = 0), (i.status = 91));
                                            } else i.status = 91;
                                        if (91 === i.status)
                                            if (i.gzhead.comment) {
                                                a = i.pending;
                                                do {
                                                    if (
                                                        i.pending === i.pending_buf_size &&
                                                        (i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)),
                                                        g(t),
                                                        (a = i.pending),
                                                        i.pending === i.pending_buf_size)
                                                    ) {
                                                        u = 1;
                                                        break;
                                                    }
                                                    (u = i.gzindex < i.gzhead.comment.length ? 255 & i.gzhead.comment.charCodeAt(i.gzindex++) : 0), v(i, u);
                                                } while (0 !== u);
                                                i.gzhead.hcrc && i.pending > a && (t.adler = s(t.adler, i.pending_buf, i.pending - a, a)),
                                                    0 === u && (i.status = 103);
                                            } else i.status = 103;
                                        if (
                                            (103 === i.status &&
                                                (i.gzhead.hcrc
                                                    ? (i.pending + 2 > i.pending_buf_size && g(t),
                                                      i.pending + 2 <= i.pending_buf_size &&
                                                          (v(i, 255 & t.adler), v(i, (t.adler >> 8) & 255), (t.adler = 0), (i.status = h)))
                                                    : (i.status = h)),
                                            0 !== i.pending)
                                        ) {
                                            if ((g(t), 0 === t.avail_out)) return (i.last_flush = -1), 0;
                                        } else if (0 === t.avail_in && p(e) <= p(r) && 4 !== e) return d(t, -5);
                                        if (666 === i.status && 0 !== t.avail_in) return d(t, -5);
                                        if (0 !== t.avail_in || 0 !== i.lookahead || (0 !== e && 666 !== i.status)) {
                                            var w =
                                                2 === i.strategy
                                                    ? (function (t, e) {
                                                          for (var r; ; ) {
                                                              if (0 === t.lookahead && (b(t), 0 === t.lookahead)) {
                                                                  if (0 === e) return 1;
                                                                  break;
                                                              }
                                                              if (
                                                                  ((t.match_length = 0),
                                                                  (r = o._tr_tally(t, 0, t.window[t.strstart])),
                                                                  t.lookahead--,
                                                                  t.strstart++,
                                                                  r && (y(t, !1), 0 === t.strm.avail_out))
                                                              )
                                                                  return 1;
                                                          }
                                                          return (
                                                              (t.insert = 0),
                                                              4 === e
                                                                  ? (y(t, !0), 0 === t.strm.avail_out ? 3 : 4)
                                                                  : t.last_lit && (y(t, !1), 0 === t.strm.avail_out)
                                                                  ? 1
                                                                  : 2
                                                          );
                                                      })(i, e)
                                                    : 3 === i.strategy
                                                    ? (function (t, e) {
                                                          for (var r, n, i, a, s = t.window; ; ) {
                                                              if (t.lookahead <= c) {
                                                                  if ((b(t), t.lookahead <= c && 0 === e)) return 1;
                                                                  if (0 === t.lookahead) break;
                                                              }
                                                              if (
                                                                  ((t.match_length = 0),
                                                                  t.lookahead >= 3 &&
                                                                      0 < t.strstart &&
                                                                      (n = s[(i = t.strstart - 1)]) === s[++i] &&
                                                                      n === s[++i] &&
                                                                      n === s[++i])
                                                              ) {
                                                                  a = t.strstart + c;
                                                                  do {} while (
                                                                      n === s[++i] &&
                                                                      n === s[++i] &&
                                                                      n === s[++i] &&
                                                                      n === s[++i] &&
                                                                      n === s[++i] &&
                                                                      n === s[++i] &&
                                                                      n === s[++i] &&
                                                                      n === s[++i] &&
                                                                      i < a
                                                                  );
                                                                  (t.match_length = c - (a - i)),
                                                                      t.match_length > t.lookahead && (t.match_length = t.lookahead);
                                                              }
                                                              if (
                                                                  (t.match_length >= 3
                                                                      ? ((r = o._tr_tally(t, 1, t.match_length - 3)),
                                                                        (t.lookahead -= t.match_length),
                                                                        (t.strstart += t.match_length),
                                                                        (t.match_length = 0))
                                                                      : ((r = o._tr_tally(t, 0, t.window[t.strstart])), t.lookahead--, t.strstart++),
                                                                  r && (y(t, !1), 0 === t.strm.avail_out))
                                                              )
                                                                  return 1;
                                                          }
                                                          return (
                                                              (t.insert = 0),
                                                              4 === e
                                                                  ? (y(t, !0), 0 === t.strm.avail_out ? 3 : 4)
                                                                  : t.last_lit && (y(t, !1), 0 === t.strm.avail_out)
                                                                  ? 1
                                                                  : 2
                                                          );
                                                      })(i, e)
                                                    : n[i.level].func(i, e);
                                            if (((3 !== w && 4 !== w) || (i.status = 666), 1 === w || 3 === w))
                                                return 0 === t.avail_out && (i.last_flush = -1), 0;
                                            if (
                                                2 === w &&
                                                (1 === e
                                                    ? o._tr_align(i)
                                                    : 5 !== e &&
                                                      (o._tr_stored_block(i, 0, 0, !1),
                                                      3 === e && (m(i.head), 0 === i.lookahead && ((i.strstart = 0), (i.block_start = 0), (i.insert = 0)))),
                                                g(t),
                                                0 === t.avail_out)
                                            )
                                                return (i.last_flush = -1), 0;
                                        }
                                        return 4 !== e
                                            ? 0
                                            : i.wrap <= 0
                                            ? 1
                                            : (2 === i.wrap
                                                  ? (v(i, 255 & t.adler),
                                                    v(i, (t.adler >> 8) & 255),
                                                    v(i, (t.adler >> 16) & 255),
                                                    v(i, (t.adler >> 24) & 255),
                                                    v(i, 255 & t.total_in),
                                                    v(i, (t.total_in >> 8) & 255),
                                                    v(i, (t.total_in >> 16) & 255),
                                                    v(i, (t.total_in >> 24) & 255))
                                                  : (_(i, t.adler >>> 16), _(i, 65535 & t.adler)),
                                              g(t),
                                              0 < i.wrap && (i.wrap = -i.wrap),
                                              0 !== i.pending ? 0 : 1);
                                    }),
                                    (r.deflateEnd = function (t) {
                                        var e;
                                        return t && t.state
                                            ? 42 !== (e = t.state.status) && 69 !== e && 73 !== e && 91 !== e && 103 !== e && e !== h && 666 !== e
                                                ? d(t, l)
                                                : ((t.state = null), e === h ? d(t, -3) : 0)
                                            : l;
                                    }),
                                    (r.deflateSetDictionary = function (t, e) {
                                        var r,
                                            n,
                                            o,
                                            s,
                                            u,
                                            c,
                                            f,
                                            h,
                                            d = e.length;
                                        if (!t || !t.state) return l;
                                        if (2 === (s = (r = t.state).wrap) || (1 === s && 42 !== r.status) || r.lookahead) return l;
                                        for (
                                            1 === s && (t.adler = a(t.adler, e, d, 0)),
                                                r.wrap = 0,
                                                d >= r.w_size &&
                                                    (0 === s && (m(r.head), (r.strstart = 0), (r.block_start = 0), (r.insert = 0)),
                                                    (h = new i.Buf8(r.w_size)),
                                                    i.arraySet(h, e, d - r.w_size, r.w_size, 0),
                                                    (e = h),
                                                    (d = r.w_size)),
                                                u = t.avail_in,
                                                c = t.next_in,
                                                f = t.input,
                                                t.avail_in = d,
                                                t.next_in = 0,
                                                t.input = e,
                                                b(r);
                                            r.lookahead >= 3;

                                        ) {
                                            for (
                                                n = r.strstart, o = r.lookahead - 2;
                                                (r.ins_h = ((r.ins_h << r.hash_shift) ^ r.window[n + 3 - 1]) & r.hash_mask),
                                                    (r.prev[n & r.w_mask] = r.head[r.ins_h]),
                                                    (r.head[r.ins_h] = n),
                                                    n++,
                                                    --o;

                                            );
                                            (r.strstart = n), (r.lookahead = 2), b(r);
                                        }
                                        return (
                                            (r.strstart += r.lookahead),
                                            (r.block_start = r.strstart),
                                            (r.insert = r.lookahead),
                                            (r.lookahead = 0),
                                            (r.match_length = r.prev_length = 2),
                                            (r.match_available = 0),
                                            (t.next_in = c),
                                            (t.input = f),
                                            (t.avail_in = u),
                                            (r.wrap = s),
                                            0
                                        );
                                    }),
                                    (r.deflateInfo = "pako deflate (from Nodeca project)");
                            },
                            { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./messages": 51, "./trees": 52 },
                        ],
                        47: [
                            function (t, e, r) {
                                "use strict";
                                e.exports = function () {
                                    (this.text = 0),
                                        (this.time = 0),
                                        (this.xflags = 0),
                                        (this.os = 0),
                                        (this.extra = null),
                                        (this.extra_len = 0),
                                        (this.name = ""),
                                        (this.comment = ""),
                                        (this.hcrc = 0),
                                        (this.done = !1);
                                };
                            },
                            {},
                        ],
                        48: [
                            function (t, e, r) {
                                "use strict";
                                e.exports = function (t, e) {
                                    var r, n, i, o, a, s, u, l, c, f, h, d, p, m, g, y, v, _, w, b, k, x, E, S, A;
                                    (r = t.state),
                                        (n = t.next_in),
                                        (S = t.input),
                                        (i = n + (t.avail_in - 5)),
                                        (o = t.next_out),
                                        (A = t.output),
                                        (a = o - (e - t.avail_out)),
                                        (s = o + (t.avail_out - 257)),
                                        (u = r.dmax),
                                        (l = r.wsize),
                                        (c = r.whave),
                                        (f = r.wnext),
                                        (h = r.window),
                                        (d = r.hold),
                                        (p = r.bits),
                                        (m = r.lencode),
                                        (g = r.distcode),
                                        (y = (1 << r.lenbits) - 1),
                                        (v = (1 << r.distbits) - 1);
                                    t: do {
                                        p < 15 && ((d += S[n++] << p), (p += 8), (d += S[n++] << p), (p += 8)), (_ = m[d & y]);
                                        e: for (;;) {
                                            if (((d >>>= w = _ >>> 24), (p -= w), 0 == (w = (_ >>> 16) & 255))) A[o++] = 65535 & _;
                                            else {
                                                if (!(16 & w)) {
                                                    if (0 == (64 & w)) {
                                                        _ = m[(65535 & _) + (d & ((1 << w) - 1))];
                                                        continue e;
                                                    }
                                                    if (32 & w) {
                                                        r.mode = 12;
                                                        break t;
                                                    }
                                                    (t.msg = "invalid literal/length code"), (r.mode = 30);
                                                    break t;
                                                }
                                                (b = 65535 & _),
                                                    (w &= 15) && (p < w && ((d += S[n++] << p), (p += 8)), (b += d & ((1 << w) - 1)), (d >>>= w), (p -= w)),
                                                    p < 15 && ((d += S[n++] << p), (p += 8), (d += S[n++] << p), (p += 8)),
                                                    (_ = g[d & v]);
                                                r: for (;;) {
                                                    if (((d >>>= w = _ >>> 24), (p -= w), !(16 & (w = (_ >>> 16) & 255)))) {
                                                        if (0 == (64 & w)) {
                                                            _ = g[(65535 & _) + (d & ((1 << w) - 1))];
                                                            continue r;
                                                        }
                                                        (t.msg = "invalid distance code"), (r.mode = 30);
                                                        break t;
                                                    }
                                                    if (
                                                        ((k = 65535 & _),
                                                        p < (w &= 15) && ((d += S[n++] << p), (p += 8) < w && ((d += S[n++] << p), (p += 8))),
                                                        u < (k += d & ((1 << w) - 1)))
                                                    ) {
                                                        (t.msg = "invalid distance too far back"), (r.mode = 30);
                                                        break t;
                                                    }
                                                    if (((d >>>= w), (p -= w), (w = o - a) < k)) {
                                                        if (c < (w = k - w) && r.sane) {
                                                            (t.msg = "invalid distance too far back"), (r.mode = 30);
                                                            break t;
                                                        }
                                                        if (((E = h), (x = 0) === f)) {
                                                            if (((x += l - w), w < b)) {
                                                                for (b -= w; (A[o++] = h[x++]), --w; );
                                                                (x = o - k), (E = A);
                                                            }
                                                        } else if (f < w) {
                                                            if (((x += l + f - w), (w -= f) < b)) {
                                                                for (b -= w; (A[o++] = h[x++]), --w; );
                                                                if (((x = 0), f < b)) {
                                                                    for (b -= w = f; (A[o++] = h[x++]), --w; );
                                                                    (x = o - k), (E = A);
                                                                }
                                                            }
                                                        } else if (((x += f - w), w < b)) {
                                                            for (b -= w; (A[o++] = h[x++]), --w; );
                                                            (x = o - k), (E = A);
                                                        }
                                                        for (; 2 < b; ) (A[o++] = E[x++]), (A[o++] = E[x++]), (A[o++] = E[x++]), (b -= 3);
                                                        b && ((A[o++] = E[x++]), 1 < b && (A[o++] = E[x++]));
                                                    } else {
                                                        for (x = o - k; (A[o++] = A[x++]), (A[o++] = A[x++]), (A[o++] = A[x++]), 2 < (b -= 3); );
                                                        b && ((A[o++] = A[x++]), 1 < b && (A[o++] = A[x++]));
                                                    }
                                                    break;
                                                }
                                            }
                                            break;
                                        }
                                    } while (n < i && o < s);
                                    (n -= b = p >> 3),
                                        (d &= (1 << (p -= b << 3)) - 1),
                                        (t.next_in = n),
                                        (t.next_out = o),
                                        (t.avail_in = n < i ? i - n + 5 : 5 - (n - i)),
                                        (t.avail_out = o < s ? s - o + 257 : 257 - (o - s)),
                                        (r.hold = d),
                                        (r.bits = p);
                                };
                            },
                            {},
                        ],
                        49: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../utils/common"),
                                    i = t("./adler32"),
                                    o = t("./crc32"),
                                    a = t("./inffast"),
                                    s = t("./inftrees"),
                                    u = -2;
                                function l(t) {
                                    return ((t >>> 24) & 255) + ((t >>> 8) & 65280) + ((65280 & t) << 8) + ((255 & t) << 24);
                                }
                                function c() {
                                    (this.mode = 0),
                                        (this.last = !1),
                                        (this.wrap = 0),
                                        (this.havedict = !1),
                                        (this.flags = 0),
                                        (this.dmax = 0),
                                        (this.check = 0),
                                        (this.total = 0),
                                        (this.head = null),
                                        (this.wbits = 0),
                                        (this.wsize = 0),
                                        (this.whave = 0),
                                        (this.wnext = 0),
                                        (this.window = null),
                                        (this.hold = 0),
                                        (this.bits = 0),
                                        (this.length = 0),
                                        (this.offset = 0),
                                        (this.extra = 0),
                                        (this.lencode = null),
                                        (this.distcode = null),
                                        (this.lenbits = 0),
                                        (this.distbits = 0),
                                        (this.ncode = 0),
                                        (this.nlen = 0),
                                        (this.ndist = 0),
                                        (this.have = 0),
                                        (this.next = null),
                                        (this.lens = new n.Buf16(320)),
                                        (this.work = new n.Buf16(288)),
                                        (this.lendyn = null),
                                        (this.distdyn = null),
                                        (this.sane = 0),
                                        (this.back = 0),
                                        (this.was = 0);
                                }
                                function f(t) {
                                    var e;
                                    return t && t.state
                                        ? ((e = t.state),
                                          (t.total_in = t.total_out = e.total = 0),
                                          (t.msg = ""),
                                          e.wrap && (t.adler = 1 & e.wrap),
                                          (e.mode = 1),
                                          (e.last = 0),
                                          (e.havedict = 0),
                                          (e.dmax = 32768),
                                          (e.head = null),
                                          (e.hold = 0),
                                          (e.bits = 0),
                                          (e.lencode = e.lendyn = new n.Buf32(852)),
                                          (e.distcode = e.distdyn = new n.Buf32(592)),
                                          (e.sane = 1),
                                          (e.back = -1),
                                          0)
                                        : u;
                                }
                                function h(t) {
                                    var e;
                                    return t && t.state ? (((e = t.state).wsize = 0), (e.whave = 0), (e.wnext = 0), f(t)) : u;
                                }
                                function d(t, e) {
                                    var r, n;
                                    return t && t.state
                                        ? ((n = t.state),
                                          e < 0 ? ((r = 0), (e = -e)) : ((r = 1 + (e >> 4)), e < 48 && (e &= 15)),
                                          e && (e < 8 || 15 < e)
                                              ? u
                                              : (null !== n.window && n.wbits !== e && (n.window = null), (n.wrap = r), (n.wbits = e), h(t)))
                                        : u;
                                }
                                function p(t, e) {
                                    var r, n;
                                    return t ? ((n = new c()), ((t.state = n).window = null), 0 !== (r = d(t, e)) && (t.state = null), r) : u;
                                }
                                var m,
                                    g,
                                    y = !0;
                                function v(t) {
                                    if (y) {
                                        var e;
                                        for (m = new n.Buf32(512), g = new n.Buf32(32), e = 0; e < 144; ) t.lens[e++] = 8;
                                        for (; e < 256; ) t.lens[e++] = 9;
                                        for (; e < 280; ) t.lens[e++] = 7;
                                        for (; e < 288; ) t.lens[e++] = 8;
                                        for (s(1, t.lens, 0, 288, m, 0, t.work, { bits: 9 }), e = 0; e < 32; ) t.lens[e++] = 5;
                                        s(2, t.lens, 0, 32, g, 0, t.work, { bits: 5 }), (y = !1);
                                    }
                                    (t.lencode = m), (t.lenbits = 9), (t.distcode = g), (t.distbits = 5);
                                }
                                function _(t, e, r, i) {
                                    var o,
                                        a = t.state;
                                    return (
                                        null === a.window && ((a.wsize = 1 << a.wbits), (a.wnext = 0), (a.whave = 0), (a.window = new n.Buf8(a.wsize))),
                                        i >= a.wsize
                                            ? (n.arraySet(a.window, e, r - a.wsize, a.wsize, 0), (a.wnext = 0), (a.whave = a.wsize))
                                            : (i < (o = a.wsize - a.wnext) && (o = i),
                                              n.arraySet(a.window, e, r - i, o, a.wnext),
                                              (i -= o)
                                                  ? (n.arraySet(a.window, e, r - i, i, 0), (a.wnext = i), (a.whave = a.wsize))
                                                  : ((a.wnext += o), a.wnext === a.wsize && (a.wnext = 0), a.whave < a.wsize && (a.whave += o))),
                                        0
                                    );
                                }
                                (r.inflateReset = h),
                                    (r.inflateReset2 = d),
                                    (r.inflateResetKeep = f),
                                    (r.inflateInit = function (t) {
                                        return p(t, 15);
                                    }),
                                    (r.inflateInit2 = p),
                                    (r.inflate = function (t, e) {
                                        var r,
                                            c,
                                            f,
                                            h,
                                            d,
                                            p,
                                            m,
                                            g,
                                            y,
                                            w,
                                            b,
                                            k,
                                            x,
                                            E,
                                            S,
                                            A,
                                            T,
                                            C,
                                            N,
                                            I,
                                            O,
                                            R,
                                            D,
                                            z,
                                            P = 0,
                                            B = new n.Buf8(4),
                                            U = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15];
                                        if (!t || !t.state || !t.output || (!t.input && 0 !== t.avail_in)) return u;
                                        12 === (r = t.state).mode && (r.mode = 13),
                                            (d = t.next_out),
                                            (f = t.output),
                                            (m = t.avail_out),
                                            (h = t.next_in),
                                            (c = t.input),
                                            (p = t.avail_in),
                                            (g = r.hold),
                                            (y = r.bits),
                                            (w = p),
                                            (b = m),
                                            (R = 0);
                                        t: for (;;)
                                            switch (r.mode) {
                                                case 1:
                                                    if (0 === r.wrap) {
                                                        r.mode = 13;
                                                        break;
                                                    }
                                                    for (; y < 16; ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    if (2 & r.wrap && 35615 === g) {
                                                        (B[(r.check = 0)] = 255 & g),
                                                            (B[1] = (g >>> 8) & 255),
                                                            (r.check = o(r.check, B, 2, 0)),
                                                            (y = g = 0),
                                                            (r.mode = 2);
                                                        break;
                                                    }
                                                    if (((r.flags = 0), r.head && (r.head.done = !1), !(1 & r.wrap) || (((255 & g) << 8) + (g >> 8)) % 31)) {
                                                        (t.msg = "incorrect header check"), (r.mode = 30);
                                                        break;
                                                    }
                                                    if (8 != (15 & g)) {
                                                        (t.msg = "unknown compression method"), (r.mode = 30);
                                                        break;
                                                    }
                                                    if (((y -= 4), (O = 8 + (15 & (g >>>= 4))), 0 === r.wbits)) r.wbits = O;
                                                    else if (O > r.wbits) {
                                                        (t.msg = "invalid window size"), (r.mode = 30);
                                                        break;
                                                    }
                                                    (r.dmax = 1 << O), (t.adler = r.check = 1), (r.mode = 512 & g ? 10 : 12), (y = g = 0);
                                                    break;
                                                case 2:
                                                    for (; y < 16; ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    if (((r.flags = g), 8 != (255 & r.flags))) {
                                                        (t.msg = "unknown compression method"), (r.mode = 30);
                                                        break;
                                                    }
                                                    if (57344 & r.flags) {
                                                        (t.msg = "unknown header flags set"), (r.mode = 30);
                                                        break;
                                                    }
                                                    r.head && (r.head.text = (g >> 8) & 1),
                                                        512 & r.flags && ((B[0] = 255 & g), (B[1] = (g >>> 8) & 255), (r.check = o(r.check, B, 2, 0))),
                                                        (y = g = 0),
                                                        (r.mode = 3);
                                                case 3:
                                                    for (; y < 32; ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    r.head && (r.head.time = g),
                                                        512 & r.flags &&
                                                            ((B[0] = 255 & g),
                                                            (B[1] = (g >>> 8) & 255),
                                                            (B[2] = (g >>> 16) & 255),
                                                            (B[3] = (g >>> 24) & 255),
                                                            (r.check = o(r.check, B, 4, 0))),
                                                        (y = g = 0),
                                                        (r.mode = 4);
                                                case 4:
                                                    for (; y < 16; ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    r.head && ((r.head.xflags = 255 & g), (r.head.os = g >> 8)),
                                                        512 & r.flags && ((B[0] = 255 & g), (B[1] = (g >>> 8) & 255), (r.check = o(r.check, B, 2, 0))),
                                                        (y = g = 0),
                                                        (r.mode = 5);
                                                case 5:
                                                    if (1024 & r.flags) {
                                                        for (; y < 16; ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        (r.length = g),
                                                            r.head && (r.head.extra_len = g),
                                                            512 & r.flags && ((B[0] = 255 & g), (B[1] = (g >>> 8) & 255), (r.check = o(r.check, B, 2, 0))),
                                                            (y = g = 0);
                                                    } else r.head && (r.head.extra = null);
                                                    r.mode = 6;
                                                case 6:
                                                    if (
                                                        1024 & r.flags &&
                                                        (p < (k = r.length) && (k = p),
                                                        k &&
                                                            (r.head &&
                                                                ((O = r.head.extra_len - r.length),
                                                                r.head.extra || (r.head.extra = new Array(r.head.extra_len)),
                                                                n.arraySet(r.head.extra, c, h, k, O)),
                                                            512 & r.flags && (r.check = o(r.check, c, k, h)),
                                                            (p -= k),
                                                            (h += k),
                                                            (r.length -= k)),
                                                        r.length)
                                                    )
                                                        break t;
                                                    (r.length = 0), (r.mode = 7);
                                                case 7:
                                                    if (2048 & r.flags) {
                                                        if (0 === p) break t;
                                                        for (
                                                            k = 0;
                                                            (O = c[h + k++]),
                                                                r.head && O && r.length < 65536 && (r.head.name += String.fromCharCode(O)),
                                                                O && k < p;

                                                        );
                                                        if ((512 & r.flags && (r.check = o(r.check, c, k, h)), (p -= k), (h += k), O)) break t;
                                                    } else r.head && (r.head.name = null);
                                                    (r.length = 0), (r.mode = 8);
                                                case 8:
                                                    if (4096 & r.flags) {
                                                        if (0 === p) break t;
                                                        for (
                                                            k = 0;
                                                            (O = c[h + k++]),
                                                                r.head && O && r.length < 65536 && (r.head.comment += String.fromCharCode(O)),
                                                                O && k < p;

                                                        );
                                                        if ((512 & r.flags && (r.check = o(r.check, c, k, h)), (p -= k), (h += k), O)) break t;
                                                    } else r.head && (r.head.comment = null);
                                                    r.mode = 9;
                                                case 9:
                                                    if (512 & r.flags) {
                                                        for (; y < 16; ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        if (g !== (65535 & r.check)) {
                                                            (t.msg = "header crc mismatch"), (r.mode = 30);
                                                            break;
                                                        }
                                                        y = g = 0;
                                                    }
                                                    r.head && ((r.head.hcrc = (r.flags >> 9) & 1), (r.head.done = !0)), (t.adler = r.check = 0), (r.mode = 12);
                                                    break;
                                                case 10:
                                                    for (; y < 32; ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    (t.adler = r.check = l(g)), (y = g = 0), (r.mode = 11);
                                                case 11:
                                                    if (0 === r.havedict)
                                                        return (
                                                            (t.next_out = d),
                                                            (t.avail_out = m),
                                                            (t.next_in = h),
                                                            (t.avail_in = p),
                                                            (r.hold = g),
                                                            (r.bits = y),
                                                            2
                                                        );
                                                    (t.adler = r.check = 1), (r.mode = 12);
                                                case 12:
                                                    if (5 === e || 6 === e) break t;
                                                case 13:
                                                    if (r.last) {
                                                        (g >>>= 7 & y), (y -= 7 & y), (r.mode = 27);
                                                        break;
                                                    }
                                                    for (; y < 3; ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    switch (((r.last = 1 & g), (y -= 1), 3 & (g >>>= 1))) {
                                                        case 0:
                                                            r.mode = 14;
                                                            break;
                                                        case 1:
                                                            if ((v(r), (r.mode = 20), 6 !== e)) break;
                                                            (g >>>= 2), (y -= 2);
                                                            break t;
                                                        case 2:
                                                            r.mode = 17;
                                                            break;
                                                        case 3:
                                                            (t.msg = "invalid block type"), (r.mode = 30);
                                                    }
                                                    (g >>>= 2), (y -= 2);
                                                    break;
                                                case 14:
                                                    for (g >>>= 7 & y, y -= 7 & y; y < 32; ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    if ((65535 & g) != ((g >>> 16) ^ 65535)) {
                                                        (t.msg = "invalid stored block lengths"), (r.mode = 30);
                                                        break;
                                                    }
                                                    if (((r.length = 65535 & g), (y = g = 0), (r.mode = 15), 6 === e)) break t;
                                                case 15:
                                                    r.mode = 16;
                                                case 16:
                                                    if ((k = r.length)) {
                                                        if ((p < k && (k = p), m < k && (k = m), 0 === k)) break t;
                                                        n.arraySet(f, c, h, k, d), (p -= k), (h += k), (m -= k), (d += k), (r.length -= k);
                                                        break;
                                                    }
                                                    r.mode = 12;
                                                    break;
                                                case 17:
                                                    for (; y < 14; ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    if (
                                                        ((r.nlen = 257 + (31 & g)),
                                                        (g >>>= 5),
                                                        (y -= 5),
                                                        (r.ndist = 1 + (31 & g)),
                                                        (g >>>= 5),
                                                        (y -= 5),
                                                        (r.ncode = 4 + (15 & g)),
                                                        (g >>>= 4),
                                                        (y -= 4),
                                                        286 < r.nlen || 30 < r.ndist)
                                                    ) {
                                                        (t.msg = "too many length or distance symbols"), (r.mode = 30);
                                                        break;
                                                    }
                                                    (r.have = 0), (r.mode = 18);
                                                case 18:
                                                    for (; r.have < r.ncode; ) {
                                                        for (; y < 3; ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        (r.lens[U[r.have++]] = 7 & g), (g >>>= 3), (y -= 3);
                                                    }
                                                    for (; r.have < 19; ) r.lens[U[r.have++]] = 0;
                                                    if (
                                                        ((r.lencode = r.lendyn),
                                                        (r.lenbits = 7),
                                                        (D = { bits: r.lenbits }),
                                                        (R = s(0, r.lens, 0, 19, r.lencode, 0, r.work, D)),
                                                        (r.lenbits = D.bits),
                                                        R)
                                                    ) {
                                                        (t.msg = "invalid code lengths set"), (r.mode = 30);
                                                        break;
                                                    }
                                                    (r.have = 0), (r.mode = 19);
                                                case 19:
                                                    for (; r.have < r.nlen + r.ndist; ) {
                                                        for (
                                                            ;
                                                            (A = ((P = r.lencode[g & ((1 << r.lenbits) - 1)]) >>> 16) & 255),
                                                                (T = 65535 & P),
                                                                !((S = P >>> 24) <= y);

                                                        ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        if (T < 16) (g >>>= S), (y -= S), (r.lens[r.have++] = T);
                                                        else {
                                                            if (16 === T) {
                                                                for (z = S + 2; y < z; ) {
                                                                    if (0 === p) break t;
                                                                    p--, (g += c[h++] << y), (y += 8);
                                                                }
                                                                if (((g >>>= S), (y -= S), 0 === r.have)) {
                                                                    (t.msg = "invalid bit length repeat"), (r.mode = 30);
                                                                    break;
                                                                }
                                                                (O = r.lens[r.have - 1]), (k = 3 + (3 & g)), (g >>>= 2), (y -= 2);
                                                            } else if (17 === T) {
                                                                for (z = S + 3; y < z; ) {
                                                                    if (0 === p) break t;
                                                                    p--, (g += c[h++] << y), (y += 8);
                                                                }
                                                                (y -= S), (O = 0), (k = 3 + (7 & (g >>>= S))), (g >>>= 3), (y -= 3);
                                                            } else {
                                                                for (z = S + 7; y < z; ) {
                                                                    if (0 === p) break t;
                                                                    p--, (g += c[h++] << y), (y += 8);
                                                                }
                                                                (y -= S), (O = 0), (k = 11 + (127 & (g >>>= S))), (g >>>= 7), (y -= 7);
                                                            }
                                                            if (r.have + k > r.nlen + r.ndist) {
                                                                (t.msg = "invalid bit length repeat"), (r.mode = 30);
                                                                break;
                                                            }
                                                            for (; k--; ) r.lens[r.have++] = O;
                                                        }
                                                    }
                                                    if (30 === r.mode) break;
                                                    if (0 === r.lens[256]) {
                                                        (t.msg = "invalid code -- missing end-of-block"), (r.mode = 30);
                                                        break;
                                                    }
                                                    if (
                                                        ((r.lenbits = 9),
                                                        (D = { bits: r.lenbits }),
                                                        (R = s(1, r.lens, 0, r.nlen, r.lencode, 0, r.work, D)),
                                                        (r.lenbits = D.bits),
                                                        R)
                                                    ) {
                                                        (t.msg = "invalid literal/lengths set"), (r.mode = 30);
                                                        break;
                                                    }
                                                    if (
                                                        ((r.distbits = 6),
                                                        (r.distcode = r.distdyn),
                                                        (D = { bits: r.distbits }),
                                                        (R = s(2, r.lens, r.nlen, r.ndist, r.distcode, 0, r.work, D)),
                                                        (r.distbits = D.bits),
                                                        R)
                                                    ) {
                                                        (t.msg = "invalid distances set"), (r.mode = 30);
                                                        break;
                                                    }
                                                    if (((r.mode = 20), 6 === e)) break t;
                                                case 20:
                                                    r.mode = 21;
                                                case 21:
                                                    if (6 <= p && 258 <= m) {
                                                        (t.next_out = d),
                                                            (t.avail_out = m),
                                                            (t.next_in = h),
                                                            (t.avail_in = p),
                                                            (r.hold = g),
                                                            (r.bits = y),
                                                            a(t, b),
                                                            (d = t.next_out),
                                                            (f = t.output),
                                                            (m = t.avail_out),
                                                            (h = t.next_in),
                                                            (c = t.input),
                                                            (p = t.avail_in),
                                                            (g = r.hold),
                                                            (y = r.bits),
                                                            12 === r.mode && (r.back = -1);
                                                        break;
                                                    }
                                                    for (
                                                        r.back = 0;
                                                        (A = ((P = r.lencode[g & ((1 << r.lenbits) - 1)]) >>> 16) & 255),
                                                            (T = 65535 & P),
                                                            !((S = P >>> 24) <= y);

                                                    ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    if (A && 0 == (240 & A)) {
                                                        for (
                                                            C = S, N = A, I = T;
                                                            (A = ((P = r.lencode[I + ((g & ((1 << (C + N)) - 1)) >> C)]) >>> 16) & 255),
                                                                (T = 65535 & P),
                                                                !(C + (S = P >>> 24) <= y);

                                                        ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        (g >>>= C), (y -= C), (r.back += C);
                                                    }
                                                    if (((g >>>= S), (y -= S), (r.back += S), (r.length = T), 0 === A)) {
                                                        r.mode = 26;
                                                        break;
                                                    }
                                                    if (32 & A) {
                                                        (r.back = -1), (r.mode = 12);
                                                        break;
                                                    }
                                                    if (64 & A) {
                                                        (t.msg = "invalid literal/length code"), (r.mode = 30);
                                                        break;
                                                    }
                                                    (r.extra = 15 & A), (r.mode = 22);
                                                case 22:
                                                    if (r.extra) {
                                                        for (z = r.extra; y < z; ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        (r.length += g & ((1 << r.extra) - 1)), (g >>>= r.extra), (y -= r.extra), (r.back += r.extra);
                                                    }
                                                    (r.was = r.length), (r.mode = 23);
                                                case 23:
                                                    for (
                                                        ;
                                                        (A = ((P = r.distcode[g & ((1 << r.distbits) - 1)]) >>> 16) & 255),
                                                            (T = 65535 & P),
                                                            !((S = P >>> 24) <= y);

                                                    ) {
                                                        if (0 === p) break t;
                                                        p--, (g += c[h++] << y), (y += 8);
                                                    }
                                                    if (0 == (240 & A)) {
                                                        for (
                                                            C = S, N = A, I = T;
                                                            (A = ((P = r.distcode[I + ((g & ((1 << (C + N)) - 1)) >> C)]) >>> 16) & 255),
                                                                (T = 65535 & P),
                                                                !(C + (S = P >>> 24) <= y);

                                                        ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        (g >>>= C), (y -= C), (r.back += C);
                                                    }
                                                    if (((g >>>= S), (y -= S), (r.back += S), 64 & A)) {
                                                        (t.msg = "invalid distance code"), (r.mode = 30);
                                                        break;
                                                    }
                                                    (r.offset = T), (r.extra = 15 & A), (r.mode = 24);
                                                case 24:
                                                    if (r.extra) {
                                                        for (z = r.extra; y < z; ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        (r.offset += g & ((1 << r.extra) - 1)), (g >>>= r.extra), (y -= r.extra), (r.back += r.extra);
                                                    }
                                                    if (r.offset > r.dmax) {
                                                        (t.msg = "invalid distance too far back"), (r.mode = 30);
                                                        break;
                                                    }
                                                    r.mode = 25;
                                                case 25:
                                                    if (0 === m) break t;
                                                    if (((k = b - m), r.offset > k)) {
                                                        if ((k = r.offset - k) > r.whave && r.sane) {
                                                            (t.msg = "invalid distance too far back"), (r.mode = 30);
                                                            break;
                                                        }
                                                        (x = k > r.wnext ? ((k -= r.wnext), r.wsize - k) : r.wnext - k),
                                                            k > r.length && (k = r.length),
                                                            (E = r.window);
                                                    } else (E = f), (x = d - r.offset), (k = r.length);
                                                    for (m < k && (k = m), m -= k, r.length -= k; (f[d++] = E[x++]), --k; );
                                                    0 === r.length && (r.mode = 21);
                                                    break;
                                                case 26:
                                                    if (0 === m) break t;
                                                    (f[d++] = r.length), m--, (r.mode = 21);
                                                    break;
                                                case 27:
                                                    if (r.wrap) {
                                                        for (; y < 32; ) {
                                                            if (0 === p) break t;
                                                            p--, (g |= c[h++] << y), (y += 8);
                                                        }
                                                        if (
                                                            ((b -= m),
                                                            (t.total_out += b),
                                                            (r.total += b),
                                                            b && (t.adler = r.check = r.flags ? o(r.check, f, b, d - b) : i(r.check, f, b, d - b)),
                                                            (b = m),
                                                            (r.flags ? g : l(g)) !== r.check)
                                                        ) {
                                                            (t.msg = "incorrect data check"), (r.mode = 30);
                                                            break;
                                                        }
                                                        y = g = 0;
                                                    }
                                                    r.mode = 28;
                                                case 28:
                                                    if (r.wrap && r.flags) {
                                                        for (; y < 32; ) {
                                                            if (0 === p) break t;
                                                            p--, (g += c[h++] << y), (y += 8);
                                                        }
                                                        if (g !== (4294967295 & r.total)) {
                                                            (t.msg = "incorrect length check"), (r.mode = 30);
                                                            break;
                                                        }
                                                        y = g = 0;
                                                    }
                                                    r.mode = 29;
                                                case 29:
                                                    R = 1;
                                                    break t;
                                                case 30:
                                                    R = -3;
                                                    break t;
                                                case 31:
                                                    return -4;
                                                case 32:
                                                default:
                                                    return u;
                                            }
                                        return (
                                            (t.next_out = d),
                                            (t.avail_out = m),
                                            (t.next_in = h),
                                            (t.avail_in = p),
                                            (r.hold = g),
                                            (r.bits = y),
                                            (r.wsize || (b !== t.avail_out && r.mode < 30 && (r.mode < 27 || 4 !== e))) &&
                                            _(t, t.output, t.next_out, b - t.avail_out)
                                                ? ((r.mode = 31), -4)
                                                : ((w -= t.avail_in),
                                                  (b -= t.avail_out),
                                                  (t.total_in += w),
                                                  (t.total_out += b),
                                                  (r.total += b),
                                                  r.wrap &&
                                                      b &&
                                                      (t.adler = r.check = r.flags ? o(r.check, f, b, t.next_out - b) : i(r.check, f, b, t.next_out - b)),
                                                  (t.data_type =
                                                      r.bits + (r.last ? 64 : 0) + (12 === r.mode ? 128 : 0) + (20 === r.mode || 15 === r.mode ? 256 : 0)),
                                                  ((0 == w && 0 === b) || 4 === e) && 0 === R && (R = -5),
                                                  R)
                                        );
                                    }),
                                    (r.inflateEnd = function (t) {
                                        if (!t || !t.state) return u;
                                        var e = t.state;
                                        return e.window && (e.window = null), (t.state = null), 0;
                                    }),
                                    (r.inflateGetHeader = function (t, e) {
                                        var r;
                                        return t && t.state ? (0 == (2 & (r = t.state).wrap) ? u : (((r.head = e).done = !1), 0)) : u;
                                    }),
                                    (r.inflateSetDictionary = function (t, e) {
                                        var r,
                                            n = e.length;
                                        return t && t.state
                                            ? 0 !== (r = t.state).wrap && 11 !== r.mode
                                                ? u
                                                : 11 === r.mode && i(1, e, n, 0) !== r.check
                                                ? -3
                                                : _(t, e, n, n)
                                                ? ((r.mode = 31), -4)
                                                : ((r.havedict = 1), 0)
                                            : u;
                                    }),
                                    (r.inflateInfo = "pako inflate (from Nodeca project)");
                            },
                            { "../utils/common": 41, "./adler32": 43, "./crc32": 45, "./inffast": 48, "./inftrees": 50 },
                        ],
                        50: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../utils/common"),
                                    i = [
                                        3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 15, 17, 19, 23, 27, 31, 35, 43, 51, 59, 67, 83, 99, 115, 131, 163, 195, 227, 258, 0, 0,
                                    ],
                                    o = [
                                        16, 16, 16, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 18, 18, 18, 19, 19, 19, 19, 20, 20, 20, 20, 21, 21, 21, 21, 16, 72,
                                        78,
                                    ],
                                    a = [
                                        1, 2, 3, 4, 5, 7, 9, 13, 17, 25, 33, 49, 65, 97, 129, 193, 257, 385, 513, 769, 1025, 1537, 2049, 3073, 4097, 6145, 8193,
                                        12289, 16385, 24577, 0, 0,
                                    ],
                                    s = [
                                        16, 16, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29,
                                        64, 64,
                                    ];
                                e.exports = function (t, e, r, u, l, c, f, h) {
                                    var d,
                                        p,
                                        m,
                                        g,
                                        y,
                                        v,
                                        _,
                                        w,
                                        b,
                                        k = h.bits,
                                        x = 0,
                                        E = 0,
                                        S = 0,
                                        A = 0,
                                        T = 0,
                                        C = 0,
                                        N = 0,
                                        I = 0,
                                        O = 0,
                                        R = 0,
                                        D = null,
                                        z = 0,
                                        P = new n.Buf16(16),
                                        B = new n.Buf16(16),
                                        U = null,
                                        F = 0;
                                    for (x = 0; x <= 15; x++) P[x] = 0;
                                    for (E = 0; E < u; E++) P[e[r + E]]++;
                                    for (T = k, A = 15; 1 <= A && 0 === P[A]; A--);
                                    if ((A < T && (T = A), 0 === A)) return (l[c++] = 20971520), (l[c++] = 20971520), (h.bits = 1), 0;
                                    for (S = 1; S < A && 0 === P[S]; S++);
                                    for (T < S && (T = S), x = I = 1; x <= 15; x++) if (((I <<= 1), (I -= P[x]) < 0)) return -1;
                                    if (0 < I && (0 === t || 1 !== A)) return -1;
                                    for (B[1] = 0, x = 1; x < 15; x++) B[x + 1] = B[x] + P[x];
                                    for (E = 0; E < u; E++) 0 !== e[r + E] && (f[B[e[r + E]]++] = E);
                                    if (
                                        ((v = 0 === t ? ((D = U = f), 19) : 1 === t ? ((D = i), (z -= 257), (U = o), (F -= 257), 256) : ((D = a), (U = s), -1)),
                                        (x = S),
                                        (y = c),
                                        (N = E = R = 0),
                                        (m = -1),
                                        (g = (O = 1 << (C = T)) - 1),
                                        (1 === t && 852 < O) || (2 === t && 592 < O))
                                    )
                                        return 1;
                                    for (;;) {
                                        for (
                                            _ = x - N,
                                                b = f[E] < v ? ((w = 0), f[E]) : f[E] > v ? ((w = U[F + f[E]]), D[z + f[E]]) : ((w = 96), 0),
                                                d = 1 << (x - N),
                                                S = p = 1 << C;
                                            (l[y + (R >> N) + (p -= d)] = (_ << 24) | (w << 16) | b | 0), 0 !== p;

                                        );
                                        for (d = 1 << (x - 1); R & d; ) d >>= 1;
                                        if ((0 !== d ? ((R &= d - 1), (R += d)) : (R = 0), E++, 0 == --P[x])) {
                                            if (x === A) break;
                                            x = e[r + f[E]];
                                        }
                                        if (T < x && (R & g) !== m) {
                                            for (0 === N && (N = T), y += S, I = 1 << (C = x - N); C + N < A && !((I -= P[C + N]) <= 0); ) C++, (I <<= 1);
                                            if (((O += 1 << C), (1 === t && 852 < O) || (2 === t && 592 < O))) return 1;
                                            l[(m = R & g)] = (T << 24) | (C << 16) | (y - c) | 0;
                                        }
                                    }
                                    return 0 !== R && (l[y + R] = ((x - N) << 24) | (64 << 16) | 0), (h.bits = T), 0;
                                };
                            },
                            { "../utils/common": 41 },
                        ],
                        51: [
                            function (t, e, r) {
                                "use strict";
                                e.exports = {
                                    2: "need dictionary",
                                    1: "stream end",
                                    0: "",
                                    "-1": "file error",
                                    "-2": "stream error",
                                    "-3": "data error",
                                    "-4": "insufficient memory",
                                    "-5": "buffer error",
                                    "-6": "incompatible version",
                                };
                            },
                            {},
                        ],
                        52: [
                            function (t, e, r) {
                                "use strict";
                                var n = t("../utils/common");
                                function i(t) {
                                    for (var e = t.length; 0 <= --e; ) t[e] = 0;
                                }
                                var o = 256,
                                    a = 286,
                                    s = 30,
                                    u = 15,
                                    l = [0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 2, 3, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 0],
                                    c = [0, 0, 0, 0, 1, 1, 2, 2, 3, 3, 4, 4, 5, 5, 6, 6, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 13, 13],
                                    f = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 3, 7],
                                    h = [16, 17, 18, 0, 8, 7, 9, 6, 10, 5, 11, 4, 12, 3, 13, 2, 14, 1, 15],
                                    d = new Array(576);
                                i(d);
                                var p = new Array(60);
                                i(p);
                                var m = new Array(512);
                                i(m);
                                var g = new Array(256);
                                i(g);
                                var y = new Array(29);
                                i(y);
                                var v,
                                    _,
                                    w,
                                    b = new Array(s);
                                function k(t, e, r, n, i) {
                                    (this.static_tree = t),
                                        (this.extra_bits = e),
                                        (this.extra_base = r),
                                        (this.elems = n),
                                        (this.max_length = i),
                                        (this.has_stree = t && t.length);
                                }
                                function x(t, e) {
                                    (this.dyn_tree = t), (this.max_code = 0), (this.stat_desc = e);
                                }
                                function E(t) {
                                    return t < 256 ? m[t] : m[256 + (t >>> 7)];
                                }
                                function S(t, e) {
                                    (t.pending_buf[t.pending++] = 255 & e), (t.pending_buf[t.pending++] = (e >>> 8) & 255);
                                }
                                function A(t, e, r) {
                                    t.bi_valid > 16 - r
                                        ? ((t.bi_buf |= (e << t.bi_valid) & 65535), S(t, t.bi_buf), (t.bi_buf = e >> (16 - t.bi_valid)), (t.bi_valid += r - 16))
                                        : ((t.bi_buf |= (e << t.bi_valid) & 65535), (t.bi_valid += r));
                                }
                                function T(t, e, r) {
                                    A(t, r[2 * e], r[2 * e + 1]);
                                }
                                function C(t, e) {
                                    for (var r = 0; (r |= 1 & t), (t >>>= 1), (r <<= 1), 0 < --e; );
                                    return r >>> 1;
                                }
                                function N(t, e, r) {
                                    var n,
                                        i,
                                        o = new Array(16),
                                        a = 0;
                                    for (n = 1; n <= u; n++) o[n] = a = (a + r[n - 1]) << 1;
                                    for (i = 0; i <= e; i++) {
                                        var s = t[2 * i + 1];
                                        0 !== s && (t[2 * i] = C(o[s]++, s));
                                    }
                                }
                                function I(t) {
                                    var e;
                                    for (e = 0; e < a; e++) t.dyn_ltree[2 * e] = 0;
                                    for (e = 0; e < s; e++) t.dyn_dtree[2 * e] = 0;
                                    for (e = 0; e < 19; e++) t.bl_tree[2 * e] = 0;
                                    (t.dyn_ltree[512] = 1), (t.opt_len = t.static_len = 0), (t.last_lit = t.matches = 0);
                                }
                                function O(t) {
                                    8 < t.bi_valid ? S(t, t.bi_buf) : 0 < t.bi_valid && (t.pending_buf[t.pending++] = t.bi_buf),
                                        (t.bi_buf = 0),
                                        (t.bi_valid = 0);
                                }
                                function R(t, e, r, n) {
                                    var i = 2 * e,
                                        o = 2 * r;
                                    return t[i] < t[o] || (t[i] === t[o] && n[e] <= n[r]);
                                }
                                function D(t, e, r) {
                                    for (
                                        var n = t.heap[r], i = r << 1;
                                        i <= t.heap_len && (i < t.heap_len && R(e, t.heap[i + 1], t.heap[i], t.depth) && i++, !R(e, n, t.heap[i], t.depth));

                                    )
                                        (t.heap[r] = t.heap[i]), (r = i), (i <<= 1);
                                    t.heap[r] = n;
                                }
                                function z(t, e, r) {
                                    var n,
                                        i,
                                        a,
                                        s,
                                        u = 0;
                                    if (0 !== t.last_lit)
                                        for (
                                            ;
                                            (n = (t.pending_buf[t.d_buf + 2 * u] << 8) | t.pending_buf[t.d_buf + 2 * u + 1]),
                                                (i = t.pending_buf[t.l_buf + u]),
                                                u++,
                                                0 === n
                                                    ? T(t, i, e)
                                                    : (T(t, (a = g[i]) + o + 1, e),
                                                      0 !== (s = l[a]) && A(t, (i -= y[a]), s),
                                                      T(t, (a = E(--n)), r),
                                                      0 !== (s = c[a]) && A(t, (n -= b[a]), s)),
                                                u < t.last_lit;

                                        );
                                    T(t, 256, e);
                                }
                                function P(t, e) {
                                    var r,
                                        n,
                                        i,
                                        o = e.dyn_tree,
                                        a = e.stat_desc.static_tree,
                                        s = e.stat_desc.has_stree,
                                        l = e.stat_desc.elems,
                                        c = -1;
                                    for (t.heap_len = 0, t.heap_max = 573, r = 0; r < l; r++)
                                        0 !== o[2 * r] ? ((t.heap[++t.heap_len] = c = r), (t.depth[r] = 0)) : (o[2 * r + 1] = 0);
                                    for (; t.heap_len < 2; )
                                        (o[2 * (i = t.heap[++t.heap_len] = c < 2 ? ++c : 0)] = 1),
                                            (t.depth[i] = 0),
                                            t.opt_len--,
                                            s && (t.static_len -= a[2 * i + 1]);
                                    for (e.max_code = c, r = t.heap_len >> 1; 1 <= r; r--) D(t, o, r);
                                    for (
                                        i = l;
                                        (r = t.heap[1]),
                                            (t.heap[1] = t.heap[t.heap_len--]),
                                            D(t, o, 1),
                                            (n = t.heap[1]),
                                            (t.heap[--t.heap_max] = r),
                                            (t.heap[--t.heap_max] = n),
                                            (o[2 * i] = o[2 * r] + o[2 * n]),
                                            (t.depth[i] = (t.depth[r] >= t.depth[n] ? t.depth[r] : t.depth[n]) + 1),
                                            (o[2 * r + 1] = o[2 * n + 1] = i),
                                            (t.heap[1] = i++),
                                            D(t, o, 1),
                                            2 <= t.heap_len;

                                    );
                                    (t.heap[--t.heap_max] = t.heap[1]),
                                        (function (t, e) {
                                            var r,
                                                n,
                                                i,
                                                o,
                                                a,
                                                s,
                                                l = e.dyn_tree,
                                                c = e.max_code,
                                                f = e.stat_desc.static_tree,
                                                h = e.stat_desc.has_stree,
                                                d = e.stat_desc.extra_bits,
                                                p = e.stat_desc.extra_base,
                                                m = e.stat_desc.max_length,
                                                g = 0;
                                            for (o = 0; o <= u; o++) t.bl_count[o] = 0;
                                            for (l[2 * t.heap[t.heap_max] + 1] = 0, r = t.heap_max + 1; r < 573; r++)
                                                m < (o = l[2 * l[2 * (n = t.heap[r]) + 1] + 1] + 1) && ((o = m), g++),
                                                    (l[2 * n + 1] = o),
                                                    c < n ||
                                                        (t.bl_count[o]++,
                                                        (a = 0),
                                                        p <= n && (a = d[n - p]),
                                                        (s = l[2 * n]),
                                                        (t.opt_len += s * (o + a)),
                                                        h && (t.static_len += s * (f[2 * n + 1] + a)));
                                            if (0 !== g) {
                                                do {
                                                    for (o = m - 1; 0 === t.bl_count[o]; ) o--;
                                                    t.bl_count[o]--, (t.bl_count[o + 1] += 2), t.bl_count[m]--, (g -= 2);
                                                } while (0 < g);
                                                for (o = m; 0 !== o; o--)
                                                    for (n = t.bl_count[o]; 0 !== n; )
                                                        c < (i = t.heap[--r]) ||
                                                            (l[2 * i + 1] !== o && ((t.opt_len += (o - l[2 * i + 1]) * l[2 * i]), (l[2 * i + 1] = o)), n--);
                                            }
                                        })(t, e),
                                        N(o, c, t.bl_count);
                                }
                                function B(t, e, r) {
                                    var n,
                                        i,
                                        o = -1,
                                        a = e[1],
                                        s = 0,
                                        u = 7,
                                        l = 4;
                                    for (0 === a && ((u = 138), (l = 3)), e[2 * (r + 1) + 1] = 65535, n = 0; n <= r; n++)
                                        (i = a),
                                            (a = e[2 * (n + 1) + 1]),
                                            (++s < u && i === a) ||
                                                (s < l
                                                    ? (t.bl_tree[2 * i] += s)
                                                    : 0 !== i
                                                    ? (i !== o && t.bl_tree[2 * i]++, t.bl_tree[32]++)
                                                    : s <= 10
                                                    ? t.bl_tree[34]++
                                                    : t.bl_tree[36]++,
                                                (o = i),
                                                (l = (s = 0) === a ? ((u = 138), 3) : i === a ? ((u = 6), 3) : ((u = 7), 4)));
                                }
                                function U(t, e, r) {
                                    var n,
                                        i,
                                        o = -1,
                                        a = e[1],
                                        s = 0,
                                        u = 7,
                                        l = 4;
                                    for (0 === a && ((u = 138), (l = 3)), n = 0; n <= r; n++)
                                        if (((i = a), (a = e[2 * (n + 1) + 1]), !(++s < u && i === a))) {
                                            if (s < l) for (; T(t, i, t.bl_tree), 0 != --s; );
                                            else
                                                0 !== i
                                                    ? (i !== o && (T(t, i, t.bl_tree), s--), T(t, 16, t.bl_tree), A(t, s - 3, 2))
                                                    : s <= 10
                                                    ? (T(t, 17, t.bl_tree), A(t, s - 3, 3))
                                                    : (T(t, 18, t.bl_tree), A(t, s - 11, 7));
                                            (o = i), (l = (s = 0) === a ? ((u = 138), 3) : i === a ? ((u = 6), 3) : ((u = 7), 4));
                                        }
                                }
                                i(b);
                                var F = !1;
                                function L(t, e, r, i) {
                                    A(t, 0 + (i ? 1 : 0), 3),
                                        (function (t, e, r, i) {
                                            O(t), S(t, r), S(t, ~r), n.arraySet(t.pending_buf, t.window, e, r, t.pending), (t.pending += r);
                                        })(t, e, r);
                                }
                                (r._tr_init = function (t) {
                                    F ||
                                        ((function () {
                                            var t,
                                                e,
                                                r,
                                                n,
                                                i,
                                                o = new Array(16);
                                            for (n = r = 0; n < 28; n++) for (y[n] = r, t = 0; t < 1 << l[n]; t++) g[r++] = n;
                                            for (g[r - 1] = n, n = i = 0; n < 16; n++) for (b[n] = i, t = 0; t < 1 << c[n]; t++) m[i++] = n;
                                            for (i >>= 7; n < s; n++) for (b[n] = i << 7, t = 0; t < 1 << (c[n] - 7); t++) m[256 + i++] = n;
                                            for (e = 0; e <= u; e++) o[e] = 0;
                                            for (t = 0; t <= 143; ) (d[2 * t + 1] = 8), t++, o[8]++;
                                            for (; t <= 255; ) (d[2 * t + 1] = 9), t++, o[9]++;
                                            for (; t <= 279; ) (d[2 * t + 1] = 7), t++, o[7]++;
                                            for (; t <= 287; ) (d[2 * t + 1] = 8), t++, o[8]++;
                                            for (N(d, 287, o), t = 0; t < s; t++) (p[2 * t + 1] = 5), (p[2 * t] = C(t, 5));
                                            (v = new k(d, l, 257, a, u)), (_ = new k(p, c, 0, s, u)), (w = new k(new Array(0), f, 0, 19, 7));
                                        })(),
                                        (F = !0)),
                                        (t.l_desc = new x(t.dyn_ltree, v)),
                                        (t.d_desc = new x(t.dyn_dtree, _)),
                                        (t.bl_desc = new x(t.bl_tree, w)),
                                        (t.bi_buf = 0),
                                        (t.bi_valid = 0),
                                        I(t);
                                }),
                                    (r._tr_stored_block = L),
                                    (r._tr_flush_block = function (t, e, r, n) {
                                        var i,
                                            a,
                                            s = 0;
                                        0 < t.level
                                            ? (2 === t.strm.data_type &&
                                                  (t.strm.data_type = (function (t) {
                                                      var e,
                                                          r = 4093624447;
                                                      for (e = 0; e <= 31; e++, r >>>= 1) if (1 & r && 0 !== t.dyn_ltree[2 * e]) return 0;
                                                      if (0 !== t.dyn_ltree[18] || 0 !== t.dyn_ltree[20] || 0 !== t.dyn_ltree[26]) return 1;
                                                      for (e = 32; e < o; e++) if (0 !== t.dyn_ltree[2 * e]) return 1;
                                                      return 0;
                                                  })(t)),
                                              P(t, t.l_desc),
                                              P(t, t.d_desc),
                                              (s = (function (t) {
                                                  var e;
                                                  for (
                                                      B(t, t.dyn_ltree, t.l_desc.max_code), B(t, t.dyn_dtree, t.d_desc.max_code), P(t, t.bl_desc), e = 18;
                                                      3 <= e && 0 === t.bl_tree[2 * h[e] + 1];
                                                      e--
                                                  );
                                                  return (t.opt_len += 3 * (e + 1) + 5 + 5 + 4), e;
                                              })(t)),
                                              (i = (t.opt_len + 3 + 7) >>> 3),
                                              (a = (t.static_len + 3 + 7) >>> 3) <= i && (i = a))
                                            : (i = a = r + 5),
                                            r + 4 <= i && -1 !== e
                                                ? L(t, e, r, n)
                                                : 4 === t.strategy || a === i
                                                ? (A(t, 2 + (n ? 1 : 0), 3), z(t, d, p))
                                                : (A(t, 4 + (n ? 1 : 0), 3),
                                                  (function (t, e, r, n) {
                                                      var i;
                                                      for (A(t, e - 257, 5), A(t, r - 1, 5), A(t, n - 4, 4), i = 0; i < n; i++)
                                                          A(t, t.bl_tree[2 * h[i] + 1], 3);
                                                      U(t, t.dyn_ltree, e - 1), U(t, t.dyn_dtree, r - 1);
                                                  })(t, t.l_desc.max_code + 1, t.d_desc.max_code + 1, s + 1),
                                                  z(t, t.dyn_ltree, t.dyn_dtree)),
                                            I(t),
                                            n && O(t);
                                    }),
                                    (r._tr_tally = function (t, e, r) {
                                        return (
                                            (t.pending_buf[t.d_buf + 2 * t.last_lit] = (e >>> 8) & 255),
                                            (t.pending_buf[t.d_buf + 2 * t.last_lit + 1] = 255 & e),
                                            (t.pending_buf[t.l_buf + t.last_lit] = 255 & r),
                                            t.last_lit++,
                                            0 === e ? t.dyn_ltree[2 * r]++ : (t.matches++, e--, t.dyn_ltree[2 * (g[r] + o + 1)]++, t.dyn_dtree[2 * E(e)]++),
                                            t.last_lit === t.lit_bufsize - 1
                                        );
                                    }),
                                    (r._tr_align = function (t) {
                                        A(t, 2, 3),
                                            T(t, 256, d),
                                            (function (t) {
                                                16 === t.bi_valid
                                                    ? (S(t, t.bi_buf), (t.bi_buf = 0), (t.bi_valid = 0))
                                                    : 8 <= t.bi_valid && ((t.pending_buf[t.pending++] = 255 & t.bi_buf), (t.bi_buf >>= 8), (t.bi_valid -= 8));
                                            })(t);
                                    });
                            },
                            { "../utils/common": 41 },
                        ],
                        53: [
                            function (t, e, r) {
                                "use strict";
                                e.exports = function () {
                                    (this.input = null),
                                        (this.next_in = 0),
                                        (this.avail_in = 0),
                                        (this.total_in = 0),
                                        (this.output = null),
                                        (this.next_out = 0),
                                        (this.avail_out = 0),
                                        (this.total_out = 0),
                                        (this.msg = ""),
                                        (this.state = null),
                                        (this.data_type = 2),
                                        (this.adler = 0);
                                };
                            },
                            {},
                        ],
                        54: [
                            function (t, e, r) {
                                (function (t) {
                                    !(function (t, e) {
                                        "use strict";
                                        if (!t.setImmediate) {
                                            var r,
                                                n,
                                                i,
                                                a,
                                                s = 1,
                                                u = {},
                                                l = !1,
                                                c = t.document,
                                                f = Object.getPrototypeOf && Object.getPrototypeOf(t);
                                            (f = f && f.setTimeout ? f : t),
                                                (r =
                                                    "[object process]" === {}.toString.call(t.process)
                                                        ? function (t) {
                                                              o.nextTick(function () {
                                                                  d(t);
                                                              });
                                                          }
                                                        : (function () {
                                                              if (t.postMessage && !t.importScripts) {
                                                                  var e = !0,
                                                                      r = t.onmessage;
                                                                  return (
                                                                      (t.onmessage = function () {
                                                                          e = !1;
                                                                      }),
                                                                      t.postMessage("", "*"),
                                                                      (t.onmessage = r),
                                                                      e
                                                                  );
                                                              }
                                                          })()
                                                        ? ((a = "setImmediate$" + Math.random() + "$"),
                                                          t.addEventListener ? t.addEventListener("message", p, !1) : t.attachEvent("onmessage", p),
                                                          function (e) {
                                                              t.postMessage(a + e, "*");
                                                          })
                                                        : t.MessageChannel
                                                        ? (((i = new MessageChannel()).port1.onmessage = function (t) {
                                                              d(t.data);
                                                          }),
                                                          function (t) {
                                                              i.port2.postMessage(t);
                                                          })
                                                        : c && "onreadystatechange" in c.createElement("script")
                                                        ? ((n = c.documentElement),
                                                          function (t) {
                                                              var e = c.createElement("script");
                                                              (e.onreadystatechange = function () {
                                                                  d(t), (e.onreadystatechange = null), n.removeChild(e), (e = null);
                                                              }),
                                                                  n.appendChild(e);
                                                          })
                                                        : function (t) {
                                                              setTimeout(d, 0, t);
                                                          }),
                                                (f.setImmediate = function (t) {
                                                    "function" != typeof t && (t = new Function("" + t));
                                                    for (var e = new Array(arguments.length - 1), n = 0; n < e.length; n++) e[n] = arguments[n + 1];
                                                    var i = { callback: t, args: e };
                                                    return (u[s] = i), r(s), s++;
                                                }),
                                                (f.clearImmediate = h);
                                        }
                                        function h(t) {
                                            delete u[t];
                                        }
                                        function d(t) {
                                            if (l) setTimeout(d, 0, t);
                                            else {
                                                var e = u[t];
                                                if (e) {
                                                    l = !0;
                                                    try {
                                                        !(function (t) {
                                                            var e = t.callback,
                                                                r = t.args;
                                                            switch (r.length) {
                                                                case 0:
                                                                    e();
                                                                    break;
                                                                case 1:
                                                                    e(r[0]);
                                                                    break;
                                                                case 2:
                                                                    e(r[0], r[1]);
                                                                    break;
                                                                case 3:
                                                                    e(r[0], r[1], r[2]);
                                                                    break;
                                                                default:
                                                                    e.apply(void 0, r);
                                                            }
                                                        })(e);
                                                    } finally {
                                                        h(t), (l = !1);
                                                    }
                                                }
                                            }
                                        }
                                        function p(e) {
                                            e.source === t && "string" == typeof e.data && 0 === e.data.indexOf(a) && d(+e.data.slice(a.length));
                                        }
                                    })("undefined" == typeof self ? (void 0 === t ? this : t) : self);
                                }).call(this, void 0 !== i ? i : "undefined" != typeof self ? self : "undefined" != typeof window ? window : {});
                            },
                            {},
                        ],
                    },
                    {},
                    [10]
                )(10);
            }).call(this, r(9).Buffer, r(13).setImmediate, r(2), r(3));
        },
        function (t, e, r) {
            var n = r(1).default,
                i = r(8);
            (t.exports = function (t) {
                var e = i(t, "string");
                return "symbol" === n(e) ? e : String(e);
            }),
                (t.exports.__esModule = !0),
                (t.exports.default = t.exports);
        },
        function (t, e, r) {
            var n = r(1).default;
            (t.exports = function (t, e) {
                if ("object" !== n(t) || null === t) return t;
                var r = t[Symbol.toPrimitive];
                if (void 0 !== r) {
                    var i = r.call(t, e || "default");
                    if ("object" !== n(i)) return i;
                    throw new TypeError("@@toPrimitive must return a primitive value.");
                }
                return ("string" === e ? String : Number)(t);
            }),
                (t.exports.__esModule = !0),
                (t.exports.default = t.exports);
        },
        function (t, e, r) {
            "use strict";
            (function (t) {
                /*!
                 * The buffer module from node.js, for the browser.
                 *
                 * @author   Feross Aboukhadijeh <http://feross.org>
                 * @license  MIT
                 */
                var n = r(10),
                    i = r(11),
                    o = r(12);
                function a() {
                    return u.TYPED_ARRAY_SUPPORT ? 2147483647 : 1073741823;
                }
                function s(t, e) {
                    if (a() < e) throw new RangeError("Invalid typed array length");
                    return u.TYPED_ARRAY_SUPPORT ? ((t = new Uint8Array(e)).__proto__ = u.prototype) : (null === t && (t = new u(e)), (t.length = e)), t;
                }
                function u(t, e, r) {
                    if (!(u.TYPED_ARRAY_SUPPORT || this instanceof u)) return new u(t, e, r);
                    if ("number" == typeof t) {
                        if ("string" == typeof e) throw new Error("If encoding is specified then the first argument must be a string");
                        return f(this, t);
                    }
                    return l(this, t, e, r);
                }
                function l(t, e, r, n) {
                    if ("number" == typeof e) throw new TypeError('"value" argument must not be a number');
                    return "undefined" != typeof ArrayBuffer && e instanceof ArrayBuffer
                        ? (function (t, e, r, n) {
                              if ((e.byteLength, r < 0 || e.byteLength < r)) throw new RangeError("'offset' is out of bounds");
                              if (e.byteLength < r + (n || 0)) throw new RangeError("'length' is out of bounds");
                              e = void 0 === r && void 0 === n ? new Uint8Array(e) : void 0 === n ? new Uint8Array(e, r) : new Uint8Array(e, r, n);
                              u.TYPED_ARRAY_SUPPORT ? ((t = e).__proto__ = u.prototype) : (t = h(t, e));
                              return t;
                          })(t, e, r, n)
                        : "string" == typeof e
                        ? (function (t, e, r) {
                              ("string" == typeof r && "" !== r) || (r = "utf8");
                              if (!u.isEncoding(r)) throw new TypeError('"encoding" must be a valid string encoding');
                              var n = 0 | p(e, r),
                                  i = (t = s(t, n)).write(e, r);
                              i !== n && (t = t.slice(0, i));
                              return t;
                          })(t, e, r)
                        : (function (t, e) {
                              if (u.isBuffer(e)) {
                                  var r = 0 | d(e.length);
                                  return 0 === (t = s(t, r)).length || e.copy(t, 0, 0, r), t;
                              }
                              if (e) {
                                  if (("undefined" != typeof ArrayBuffer && e.buffer instanceof ArrayBuffer) || "length" in e)
                                      return "number" != typeof e.length || (n = e.length) != n ? s(t, 0) : h(t, e);
                                  if ("Buffer" === e.type && o(e.data)) return h(t, e.data);
                              }
                              var n;
                              throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.");
                          })(t, e);
                }
                function c(t) {
                    if ("number" != typeof t) throw new TypeError('"size" argument must be a number');
                    if (t < 0) throw new RangeError('"size" argument must not be negative');
                }
                function f(t, e) {
                    if ((c(e), (t = s(t, e < 0 ? 0 : 0 | d(e))), !u.TYPED_ARRAY_SUPPORT)) for (var r = 0; r < e; ++r) t[r] = 0;
                    return t;
                }
                function h(t, e) {
                    var r = e.length < 0 ? 0 : 0 | d(e.length);
                    t = s(t, r);
                    for (var n = 0; n < r; n += 1) t[n] = 255 & e[n];
                    return t;
                }
                function d(t) {
                    if (t >= a()) throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + a().toString(16) + " bytes");
                    return 0 | t;
                }
                function p(t, e) {
                    if (u.isBuffer(t)) return t.length;
                    if ("undefined" != typeof ArrayBuffer && "function" == typeof ArrayBuffer.isView && (ArrayBuffer.isView(t) || t instanceof ArrayBuffer))
                        return t.byteLength;
                    "string" != typeof t && (t = "" + t);
                    var r = t.length;
                    if (0 === r) return 0;
                    for (var n = !1; ; )
                        switch (e) {
                            case "ascii":
                            case "latin1":
                            case "binary":
                                return r;
                            case "utf8":
                            case "utf-8":
                            case void 0:
                                return M(t).length;
                            case "ucs2":
                            case "ucs-2":
                            case "utf16le":
                            case "utf-16le":
                                return 2 * r;
                            case "hex":
                                return r >>> 1;
                            case "base64":
                                return j(t).length;
                            default:
                                if (n) return M(t).length;
                                (e = ("" + e).toLowerCase()), (n = !0);
                        }
                }
                function m(t, e, r) {
                    var n = !1;
                    if (((void 0 === e || e < 0) && (e = 0), e > this.length)) return "";
                    if (((void 0 === r || r > this.length) && (r = this.length), r <= 0)) return "";
                    if ((r >>>= 0) <= (e >>>= 0)) return "";
                    for (t || (t = "utf8"); ; )
                        switch (t) {
                            case "hex":
                                return N(this, e, r);
                            case "utf8":
                            case "utf-8":
                                return A(this, e, r);
                            case "ascii":
                                return T(this, e, r);
                            case "latin1":
                            case "binary":
                                return C(this, e, r);
                            case "base64":
                                return S(this, e, r);
                            case "ucs2":
                            case "ucs-2":
                            case "utf16le":
                            case "utf-16le":
                                return I(this, e, r);
                            default:
                                if (n) throw new TypeError("Unknown encoding: " + t);
                                (t = (t + "").toLowerCase()), (n = !0);
                        }
                }
                function g(t, e, r) {
                    var n = t[e];
                    (t[e] = t[r]), (t[r] = n);
                }
                function y(t, e, r, n, i) {
                    if (0 === t.length) return -1;
                    if (
                        ("string" == typeof r ? ((n = r), (r = 0)) : r > 2147483647 ? (r = 2147483647) : r < -2147483648 && (r = -2147483648),
                        (r = +r),
                        isNaN(r) && (r = i ? 0 : t.length - 1),
                        r < 0 && (r = t.length + r),
                        r >= t.length)
                    ) {
                        if (i) return -1;
                        r = t.length - 1;
                    } else if (r < 0) {
                        if (!i) return -1;
                        r = 0;
                    }
                    if (("string" == typeof e && (e = u.from(e, n)), u.isBuffer(e))) return 0 === e.length ? -1 : v(t, e, r, n, i);
                    if ("number" == typeof e)
                        return (
                            (e &= 255),
                            u.TYPED_ARRAY_SUPPORT && "function" == typeof Uint8Array.prototype.indexOf
                                ? i
                                    ? Uint8Array.prototype.indexOf.call(t, e, r)
                                    : Uint8Array.prototype.lastIndexOf.call(t, e, r)
                                : v(t, [e], r, n, i)
                        );
                    throw new TypeError("val must be string, number or Buffer");
                }
                function v(t, e, r, n, i) {
                    var o,
                        a = 1,
                        s = t.length,
                        u = e.length;
                    if (void 0 !== n && ("ucs2" === (n = String(n).toLowerCase()) || "ucs-2" === n || "utf16le" === n || "utf-16le" === n)) {
                        if (t.length < 2 || e.length < 2) return -1;
                        (a = 2), (s /= 2), (u /= 2), (r /= 2);
                    }
                    function l(t, e) {
                        return 1 === a ? t[e] : t.readUInt16BE(e * a);
                    }
                    if (i) {
                        var c = -1;
                        for (o = r; o < s; o++)
                            if (l(t, o) === l(e, -1 === c ? 0 : o - c)) {
                                if ((-1 === c && (c = o), o - c + 1 === u)) return c * a;
                            } else -1 !== c && (o -= o - c), (c = -1);
                    } else
                        for (r + u > s && (r = s - u), o = r; o >= 0; o--) {
                            for (var f = !0, h = 0; h < u; h++)
                                if (l(t, o + h) !== l(e, h)) {
                                    f = !1;
                                    break;
                                }
                            if (f) return o;
                        }
                    return -1;
                }
                function _(t, e, r, n) {
                    r = Number(r) || 0;
                    var i = t.length - r;
                    n ? (n = Number(n)) > i && (n = i) : (n = i);
                    var o = e.length;
                    if (o % 2 != 0) throw new TypeError("Invalid hex string");
                    n > o / 2 && (n = o / 2);
                    for (var a = 0; a < n; ++a) {
                        var s = parseInt(e.substr(2 * a, 2), 16);
                        if (isNaN(s)) return a;
                        t[r + a] = s;
                    }
                    return a;
                }
                function w(t, e, r, n) {
                    return Z(M(e, t.length - r), t, r, n);
                }
                function b(t, e, r, n) {
                    return Z(
                        (function (t) {
                            for (var e = [], r = 0; r < t.length; ++r) e.push(255 & t.charCodeAt(r));
                            return e;
                        })(e),
                        t,
                        r,
                        n
                    );
                }
                function k(t, e, r, n) {
                    return b(t, e, r, n);
                }
                function x(t, e, r, n) {
                    return Z(j(e), t, r, n);
                }
                function E(t, e, r, n) {
                    return Z(
                        (function (t, e) {
                            for (var r, n, i, o = [], a = 0; a < t.length && !((e -= 2) < 0); ++a)
                                (r = t.charCodeAt(a)), (n = r >> 8), (i = r % 256), o.push(i), o.push(n);
                            return o;
                        })(e, t.length - r),
                        t,
                        r,
                        n
                    );
                }
                function S(t, e, r) {
                    return 0 === e && r === t.length ? n.fromByteArray(t) : n.fromByteArray(t.slice(e, r));
                }
                function A(t, e, r) {
                    r = Math.min(t.length, r);
                    for (var n = [], i = e; i < r; ) {
                        var o,
                            a,
                            s,
                            u,
                            l = t[i],
                            c = null,
                            f = l > 239 ? 4 : l > 223 ? 3 : l > 191 ? 2 : 1;
                        if (i + f <= r)
                            switch (f) {
                                case 1:
                                    l < 128 && (c = l);
                                    break;
                                case 2:
                                    128 == (192 & (o = t[i + 1])) && (u = ((31 & l) << 6) | (63 & o)) > 127 && (c = u);
                                    break;
                                case 3:
                                    (o = t[i + 1]),
                                        (a = t[i + 2]),
                                        128 == (192 & o) &&
                                            128 == (192 & a) &&
                                            (u = ((15 & l) << 12) | ((63 & o) << 6) | (63 & a)) > 2047 &&
                                            (u < 55296 || u > 57343) &&
                                            (c = u);
                                    break;
                                case 4:
                                    (o = t[i + 1]),
                                        (a = t[i + 2]),
                                        (s = t[i + 3]),
                                        128 == (192 & o) &&
                                            128 == (192 & a) &&
                                            128 == (192 & s) &&
                                            (u = ((15 & l) << 18) | ((63 & o) << 12) | ((63 & a) << 6) | (63 & s)) > 65535 &&
                                            u < 1114112 &&
                                            (c = u);
                            }
                        null === c ? ((c = 65533), (f = 1)) : c > 65535 && ((c -= 65536), n.push(((c >>> 10) & 1023) | 55296), (c = 56320 | (1023 & c))),
                            n.push(c),
                            (i += f);
                    }
                    return (function (t) {
                        var e = t.length;
                        if (e <= 4096) return String.fromCharCode.apply(String, t);
                        var r = "",
                            n = 0;
                        for (; n < e; ) r += String.fromCharCode.apply(String, t.slice(n, (n += 4096)));
                        return r;
                    })(n);
                }
                (e.Buffer = u),
                    (e.SlowBuffer = function (t) {
                        +t != t && (t = 0);
                        return u.alloc(+t);
                    }),
                    (e.INSPECT_MAX_BYTES = 50),
                    (u.TYPED_ARRAY_SUPPORT =
                        void 0 !== t.TYPED_ARRAY_SUPPORT
                            ? t.TYPED_ARRAY_SUPPORT
                            : (function () {
                                  try {
                                      var t = new Uint8Array(1);
                                      return (
                                          (t.__proto__ = {
                                              __proto__: Uint8Array.prototype,
                                              foo: function () {
                                                  return 42;
                                              },
                                          }),
                                          42 === t.foo() && "function" == typeof t.subarray && 0 === t.subarray(1, 1).byteLength
                                      );
                                  } catch (t) {
                                      return !1;
                                  }
                              })()),
                    (e.kMaxLength = a()),
                    (u.poolSize = 8192),
                    (u._augment = function (t) {
                        return (t.__proto__ = u.prototype), t;
                    }),
                    (u.from = function (t, e, r) {
                        return l(null, t, e, r);
                    }),
                    u.TYPED_ARRAY_SUPPORT &&
                        ((u.prototype.__proto__ = Uint8Array.prototype),
                        (u.__proto__ = Uint8Array),
                        "undefined" != typeof Symbol &&
                            Symbol.species &&
                            u[Symbol.species] === u &&
                            Object.defineProperty(u, Symbol.species, { value: null, configurable: !0 })),
                    (u.alloc = function (t, e, r) {
                        return (function (t, e, r, n) {
                            return c(e), e <= 0 ? s(t, e) : void 0 !== r ? ("string" == typeof n ? s(t, e).fill(r, n) : s(t, e).fill(r)) : s(t, e);
                        })(null, t, e, r);
                    }),
                    (u.allocUnsafe = function (t) {
                        return f(null, t);
                    }),
                    (u.allocUnsafeSlow = function (t) {
                        return f(null, t);
                    }),
                    (u.isBuffer = function (t) {
                        return !(null == t || !t._isBuffer);
                    }),
                    (u.compare = function (t, e) {
                        if (!u.isBuffer(t) || !u.isBuffer(e)) throw new TypeError("Arguments must be Buffers");
                        if (t === e) return 0;
                        for (var r = t.length, n = e.length, i = 0, o = Math.min(r, n); i < o; ++i)
                            if (t[i] !== e[i]) {
                                (r = t[i]), (n = e[i]);
                                break;
                            }
                        return r < n ? -1 : n < r ? 1 : 0;
                    }),
                    (u.isEncoding = function (t) {
                        switch (String(t).toLowerCase()) {
                            case "hex":
                            case "utf8":
                            case "utf-8":
                            case "ascii":
                            case "latin1":
                            case "binary":
                            case "base64":
                            case "ucs2":
                            case "ucs-2":
                            case "utf16le":
                            case "utf-16le":
                                return !0;
                            default:
                                return !1;
                        }
                    }),
                    (u.concat = function (t, e) {
                        if (!o(t)) throw new TypeError('"list" argument must be an Array of Buffers');
                        if (0 === t.length) return u.alloc(0);
                        var r;
                        if (void 0 === e) for (e = 0, r = 0; r < t.length; ++r) e += t[r].length;
                        var n = u.allocUnsafe(e),
                            i = 0;
                        for (r = 0; r < t.length; ++r) {
                            var a = t[r];
                            if (!u.isBuffer(a)) throw new TypeError('"list" argument must be an Array of Buffers');
                            a.copy(n, i), (i += a.length);
                        }
                        return n;
                    }),
                    (u.byteLength = p),
                    (u.prototype._isBuffer = !0),
                    (u.prototype.swap16 = function () {
                        var t = this.length;
                        if (t % 2 != 0) throw new RangeError("Buffer size must be a multiple of 16-bits");
                        for (var e = 0; e < t; e += 2) g(this, e, e + 1);
                        return this;
                    }),
                    (u.prototype.swap32 = function () {
                        var t = this.length;
                        if (t % 4 != 0) throw new RangeError("Buffer size must be a multiple of 32-bits");
                        for (var e = 0; e < t; e += 4) g(this, e, e + 3), g(this, e + 1, e + 2);
                        return this;
                    }),
                    (u.prototype.swap64 = function () {
                        var t = this.length;
                        if (t % 8 != 0) throw new RangeError("Buffer size must be a multiple of 64-bits");
                        for (var e = 0; e < t; e += 8) g(this, e, e + 7), g(this, e + 1, e + 6), g(this, e + 2, e + 5), g(this, e + 3, e + 4);
                        return this;
                    }),
                    (u.prototype.toString = function () {
                        var t = 0 | this.length;
                        return 0 === t ? "" : 0 === arguments.length ? A(this, 0, t) : m.apply(this, arguments);
                    }),
                    (u.prototype.equals = function (t) {
                        if (!u.isBuffer(t)) throw new TypeError("Argument must be a Buffer");
                        return this === t || 0 === u.compare(this, t);
                    }),
                    (u.prototype.inspect = function () {
                        var t = "",
                            r = e.INSPECT_MAX_BYTES;
                        return (
                            this.length > 0 && ((t = this.toString("hex", 0, r).match(/.{2}/g).join(" ")), this.length > r && (t += " ... ")),
                            "<Buffer " + t + ">"
                        );
                    }),
                    (u.prototype.compare = function (t, e, r, n, i) {
                        if (!u.isBuffer(t)) throw new TypeError("Argument must be a Buffer");
                        if (
                            (void 0 === e && (e = 0),
                            void 0 === r && (r = t ? t.length : 0),
                            void 0 === n && (n = 0),
                            void 0 === i && (i = this.length),
                            e < 0 || r > t.length || n < 0 || i > this.length)
                        )
                            throw new RangeError("out of range index");
                        if (n >= i && e >= r) return 0;
                        if (n >= i) return -1;
                        if (e >= r) return 1;
                        if (this === t) return 0;
                        for (
                            var o = (i >>>= 0) - (n >>>= 0), a = (r >>>= 0) - (e >>>= 0), s = Math.min(o, a), l = this.slice(n, i), c = t.slice(e, r), f = 0;
                            f < s;
                            ++f
                        )
                            if (l[f] !== c[f]) {
                                (o = l[f]), (a = c[f]);
                                break;
                            }
                        return o < a ? -1 : a < o ? 1 : 0;
                    }),
                    (u.prototype.includes = function (t, e, r) {
                        return -1 !== this.indexOf(t, e, r);
                    }),
                    (u.prototype.indexOf = function (t, e, r) {
                        return y(this, t, e, r, !0);
                    }),
                    (u.prototype.lastIndexOf = function (t, e, r) {
                        return y(this, t, e, r, !1);
                    }),
                    (u.prototype.write = function (t, e, r, n) {
                        if (void 0 === e) (n = "utf8"), (r = this.length), (e = 0);
                        else if (void 0 === r && "string" == typeof e) (n = e), (r = this.length), (e = 0);
                        else {
                            if (!isFinite(e)) throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");
                            (e |= 0), isFinite(r) ? ((r |= 0), void 0 === n && (n = "utf8")) : ((n = r), (r = void 0));
                        }
                        var i = this.length - e;
                        if (((void 0 === r || r > i) && (r = i), (t.length > 0 && (r < 0 || e < 0)) || e > this.length))
                            throw new RangeError("Attempt to write outside buffer bounds");
                        n || (n = "utf8");
                        for (var o = !1; ; )
                            switch (n) {
                                case "hex":
                                    return _(this, t, e, r);
                                case "utf8":
                                case "utf-8":
                                    return w(this, t, e, r);
                                case "ascii":
                                    return b(this, t, e, r);
                                case "latin1":
                                case "binary":
                                    return k(this, t, e, r);
                                case "base64":
                                    return x(this, t, e, r);
                                case "ucs2":
                                case "ucs-2":
                                case "utf16le":
                                case "utf-16le":
                                    return E(this, t, e, r);
                                default:
                                    if (o) throw new TypeError("Unknown encoding: " + n);
                                    (n = ("" + n).toLowerCase()), (o = !0);
                            }
                    }),
                    (u.prototype.toJSON = function () {
                        return { type: "Buffer", data: Array.prototype.slice.call(this._arr || this, 0) };
                    });
                function T(t, e, r) {
                    var n = "";
                    r = Math.min(t.length, r);
                    for (var i = e; i < r; ++i) n += String.fromCharCode(127 & t[i]);
                    return n;
                }
                function C(t, e, r) {
                    var n = "";
                    r = Math.min(t.length, r);
                    for (var i = e; i < r; ++i) n += String.fromCharCode(t[i]);
                    return n;
                }
                function N(t, e, r) {
                    var n = t.length;
                    (!e || e < 0) && (e = 0), (!r || r < 0 || r > n) && (r = n);
                    for (var i = "", o = e; o < r; ++o) i += L(t[o]);
                    return i;
                }
                function I(t, e, r) {
                    for (var n = t.slice(e, r), i = "", o = 0; o < n.length; o += 2) i += String.fromCharCode(n[o] + 256 * n[o + 1]);
                    return i;
                }
                function O(t, e, r) {
                    if (t % 1 != 0 || t < 0) throw new RangeError("offset is not uint");
                    if (t + e > r) throw new RangeError("Trying to access beyond buffer length");
                }
                function R(t, e, r, n, i, o) {
                    if (!u.isBuffer(t)) throw new TypeError('"buffer" argument must be a Buffer instance');
                    if (e > i || e < o) throw new RangeError('"value" argument is out of bounds');
                    if (r + n > t.length) throw new RangeError("Index out of range");
                }
                function D(t, e, r, n) {
                    e < 0 && (e = 65535 + e + 1);
                    for (var i = 0, o = Math.min(t.length - r, 2); i < o; ++i) t[r + i] = (e & (255 << (8 * (n ? i : 1 - i)))) >>> (8 * (n ? i : 1 - i));
                }
                function z(t, e, r, n) {
                    e < 0 && (e = 4294967295 + e + 1);
                    for (var i = 0, o = Math.min(t.length - r, 4); i < o; ++i) t[r + i] = (e >>> (8 * (n ? i : 3 - i))) & 255;
                }
                function P(t, e, r, n, i, o) {
                    if (r + n > t.length) throw new RangeError("Index out of range");
                    if (r < 0) throw new RangeError("Index out of range");
                }
                function B(t, e, r, n, o) {
                    return o || P(t, 0, r, 4), i.write(t, e, r, n, 23, 4), r + 4;
                }
                function U(t, e, r, n, o) {
                    return o || P(t, 0, r, 8), i.write(t, e, r, n, 52, 8), r + 8;
                }
                (u.prototype.slice = function (t, e) {
                    var r,
                        n = this.length;
                    if (
                        ((t = ~~t) < 0 ? (t += n) < 0 && (t = 0) : t > n && (t = n),
                        (e = void 0 === e ? n : ~~e) < 0 ? (e += n) < 0 && (e = 0) : e > n && (e = n),
                        e < t && (e = t),
                        u.TYPED_ARRAY_SUPPORT)
                    )
                        (r = this.subarray(t, e)).__proto__ = u.prototype;
                    else {
                        var i = e - t;
                        r = new u(i, void 0);
                        for (var o = 0; o < i; ++o) r[o] = this[o + t];
                    }
                    return r;
                }),
                    (u.prototype.readUIntLE = function (t, e, r) {
                        (t |= 0), (e |= 0), r || O(t, e, this.length);
                        for (var n = this[t], i = 1, o = 0; ++o < e && (i *= 256); ) n += this[t + o] * i;
                        return n;
                    }),
                    (u.prototype.readUIntBE = function (t, e, r) {
                        (t |= 0), (e |= 0), r || O(t, e, this.length);
                        for (var n = this[t + --e], i = 1; e > 0 && (i *= 256); ) n += this[t + --e] * i;
                        return n;
                    }),
                    (u.prototype.readUInt8 = function (t, e) {
                        return e || O(t, 1, this.length), this[t];
                    }),
                    (u.prototype.readUInt16LE = function (t, e) {
                        return e || O(t, 2, this.length), this[t] | (this[t + 1] << 8);
                    }),
                    (u.prototype.readUInt16BE = function (t, e) {
                        return e || O(t, 2, this.length), (this[t] << 8) | this[t + 1];
                    }),
                    (u.prototype.readUInt32LE = function (t, e) {
                        return e || O(t, 4, this.length), (this[t] | (this[t + 1] << 8) | (this[t + 2] << 16)) + 16777216 * this[t + 3];
                    }),
                    (u.prototype.readUInt32BE = function (t, e) {
                        return e || O(t, 4, this.length), 16777216 * this[t] + ((this[t + 1] << 16) | (this[t + 2] << 8) | this[t + 3]);
                    }),
                    (u.prototype.readIntLE = function (t, e, r) {
                        (t |= 0), (e |= 0), r || O(t, e, this.length);
                        for (var n = this[t], i = 1, o = 0; ++o < e && (i *= 256); ) n += this[t + o] * i;
                        return n >= (i *= 128) && (n -= Math.pow(2, 8 * e)), n;
                    }),
                    (u.prototype.readIntBE = function (t, e, r) {
                        (t |= 0), (e |= 0), r || O(t, e, this.length);
                        for (var n = e, i = 1, o = this[t + --n]; n > 0 && (i *= 256); ) o += this[t + --n] * i;
                        return o >= (i *= 128) && (o -= Math.pow(2, 8 * e)), o;
                    }),
                    (u.prototype.readInt8 = function (t, e) {
                        return e || O(t, 1, this.length), 128 & this[t] ? -1 * (255 - this[t] + 1) : this[t];
                    }),
                    (u.prototype.readInt16LE = function (t, e) {
                        e || O(t, 2, this.length);
                        var r = this[t] | (this[t + 1] << 8);
                        return 32768 & r ? 4294901760 | r : r;
                    }),
                    (u.prototype.readInt16BE = function (t, e) {
                        e || O(t, 2, this.length);
                        var r = this[t + 1] | (this[t] << 8);
                        return 32768 & r ? 4294901760 | r : r;
                    }),
                    (u.prototype.readInt32LE = function (t, e) {
                        return e || O(t, 4, this.length), this[t] | (this[t + 1] << 8) | (this[t + 2] << 16) | (this[t + 3] << 24);
                    }),
                    (u.prototype.readInt32BE = function (t, e) {
                        return e || O(t, 4, this.length), (this[t] << 24) | (this[t + 1] << 16) | (this[t + 2] << 8) | this[t + 3];
                    }),
                    (u.prototype.readFloatLE = function (t, e) {
                        return e || O(t, 4, this.length), i.read(this, t, !0, 23, 4);
                    }),
                    (u.prototype.readFloatBE = function (t, e) {
                        return e || O(t, 4, this.length), i.read(this, t, !1, 23, 4);
                    }),
                    (u.prototype.readDoubleLE = function (t, e) {
                        return e || O(t, 8, this.length), i.read(this, t, !0, 52, 8);
                    }),
                    (u.prototype.readDoubleBE = function (t, e) {
                        return e || O(t, 8, this.length), i.read(this, t, !1, 52, 8);
                    }),
                    (u.prototype.writeUIntLE = function (t, e, r, n) {
                        ((t = +t), (e |= 0), (r |= 0), n) || R(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
                        var i = 1,
                            o = 0;
                        for (this[e] = 255 & t; ++o < r && (i *= 256); ) this[e + o] = (t / i) & 255;
                        return e + r;
                    }),
                    (u.prototype.writeUIntBE = function (t, e, r, n) {
                        ((t = +t), (e |= 0), (r |= 0), n) || R(this, t, e, r, Math.pow(2, 8 * r) - 1, 0);
                        var i = r - 1,
                            o = 1;
                        for (this[e + i] = 255 & t; --i >= 0 && (o *= 256); ) this[e + i] = (t / o) & 255;
                        return e + r;
                    }),
                    (u.prototype.writeUInt8 = function (t, e, r) {
                        return (t = +t), (e |= 0), r || R(this, t, e, 1, 255, 0), u.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)), (this[e] = 255 & t), e + 1;
                    }),
                    (u.prototype.writeUInt16LE = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 2, 65535, 0),
                            u.TYPED_ARRAY_SUPPORT ? ((this[e] = 255 & t), (this[e + 1] = t >>> 8)) : D(this, t, e, !0),
                            e + 2
                        );
                    }),
                    (u.prototype.writeUInt16BE = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 2, 65535, 0),
                            u.TYPED_ARRAY_SUPPORT ? ((this[e] = t >>> 8), (this[e + 1] = 255 & t)) : D(this, t, e, !1),
                            e + 2
                        );
                    }),
                    (u.prototype.writeUInt32LE = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 4, 4294967295, 0),
                            u.TYPED_ARRAY_SUPPORT
                                ? ((this[e + 3] = t >>> 24), (this[e + 2] = t >>> 16), (this[e + 1] = t >>> 8), (this[e] = 255 & t))
                                : z(this, t, e, !0),
                            e + 4
                        );
                    }),
                    (u.prototype.writeUInt32BE = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 4, 4294967295, 0),
                            u.TYPED_ARRAY_SUPPORT
                                ? ((this[e] = t >>> 24), (this[e + 1] = t >>> 16), (this[e + 2] = t >>> 8), (this[e + 3] = 255 & t))
                                : z(this, t, e, !1),
                            e + 4
                        );
                    }),
                    (u.prototype.writeIntLE = function (t, e, r, n) {
                        if (((t = +t), (e |= 0), !n)) {
                            var i = Math.pow(2, 8 * r - 1);
                            R(this, t, e, r, i - 1, -i);
                        }
                        var o = 0,
                            a = 1,
                            s = 0;
                        for (this[e] = 255 & t; ++o < r && (a *= 256); )
                            t < 0 && 0 === s && 0 !== this[e + o - 1] && (s = 1), (this[e + o] = (((t / a) >> 0) - s) & 255);
                        return e + r;
                    }),
                    (u.prototype.writeIntBE = function (t, e, r, n) {
                        if (((t = +t), (e |= 0), !n)) {
                            var i = Math.pow(2, 8 * r - 1);
                            R(this, t, e, r, i - 1, -i);
                        }
                        var o = r - 1,
                            a = 1,
                            s = 0;
                        for (this[e + o] = 255 & t; --o >= 0 && (a *= 256); )
                            t < 0 && 0 === s && 0 !== this[e + o + 1] && (s = 1), (this[e + o] = (((t / a) >> 0) - s) & 255);
                        return e + r;
                    }),
                    (u.prototype.writeInt8 = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 1, 127, -128),
                            u.TYPED_ARRAY_SUPPORT || (t = Math.floor(t)),
                            t < 0 && (t = 255 + t + 1),
                            (this[e] = 255 & t),
                            e + 1
                        );
                    }),
                    (u.prototype.writeInt16LE = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 2, 32767, -32768),
                            u.TYPED_ARRAY_SUPPORT ? ((this[e] = 255 & t), (this[e + 1] = t >>> 8)) : D(this, t, e, !0),
                            e + 2
                        );
                    }),
                    (u.prototype.writeInt16BE = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 2, 32767, -32768),
                            u.TYPED_ARRAY_SUPPORT ? ((this[e] = t >>> 8), (this[e + 1] = 255 & t)) : D(this, t, e, !1),
                            e + 2
                        );
                    }),
                    (u.prototype.writeInt32LE = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 4, 2147483647, -2147483648),
                            u.TYPED_ARRAY_SUPPORT
                                ? ((this[e] = 255 & t), (this[e + 1] = t >>> 8), (this[e + 2] = t >>> 16), (this[e + 3] = t >>> 24))
                                : z(this, t, e, !0),
                            e + 4
                        );
                    }),
                    (u.prototype.writeInt32BE = function (t, e, r) {
                        return (
                            (t = +t),
                            (e |= 0),
                            r || R(this, t, e, 4, 2147483647, -2147483648),
                            t < 0 && (t = 4294967295 + t + 1),
                            u.TYPED_ARRAY_SUPPORT
                                ? ((this[e] = t >>> 24), (this[e + 1] = t >>> 16), (this[e + 2] = t >>> 8), (this[e + 3] = 255 & t))
                                : z(this, t, e, !1),
                            e + 4
                        );
                    }),
                    (u.prototype.writeFloatLE = function (t, e, r) {
                        return B(this, t, e, !0, r);
                    }),
                    (u.prototype.writeFloatBE = function (t, e, r) {
                        return B(this, t, e, !1, r);
                    }),
                    (u.prototype.writeDoubleLE = function (t, e, r) {
                        return U(this, t, e, !0, r);
                    }),
                    (u.prototype.writeDoubleBE = function (t, e, r) {
                        return U(this, t, e, !1, r);
                    }),
                    (u.prototype.copy = function (t, e, r, n) {
                        if (
                            (r || (r = 0), n || 0 === n || (n = this.length), e >= t.length && (e = t.length), e || (e = 0), n > 0 && n < r && (n = r), n === r)
                        )
                            return 0;
                        if (0 === t.length || 0 === this.length) return 0;
                        if (e < 0) throw new RangeError("targetStart out of bounds");
                        if (r < 0 || r >= this.length) throw new RangeError("sourceStart out of bounds");
                        if (n < 0) throw new RangeError("sourceEnd out of bounds");
                        n > this.length && (n = this.length), t.length - e < n - r && (n = t.length - e + r);
                        var i,
                            o = n - r;
                        if (this === t && r < e && e < n) for (i = o - 1; i >= 0; --i) t[i + e] = this[i + r];
                        else if (o < 1e3 || !u.TYPED_ARRAY_SUPPORT) for (i = 0; i < o; ++i) t[i + e] = this[i + r];
                        else Uint8Array.prototype.set.call(t, this.subarray(r, r + o), e);
                        return o;
                    }),
                    (u.prototype.fill = function (t, e, r, n) {
                        if ("string" == typeof t) {
                            if (
                                ("string" == typeof e ? ((n = e), (e = 0), (r = this.length)) : "string" == typeof r && ((n = r), (r = this.length)),
                                1 === t.length)
                            ) {
                                var i = t.charCodeAt(0);
                                i < 256 && (t = i);
                            }
                            if (void 0 !== n && "string" != typeof n) throw new TypeError("encoding must be a string");
                            if ("string" == typeof n && !u.isEncoding(n)) throw new TypeError("Unknown encoding: " + n);
                        } else "number" == typeof t && (t &= 255);
                        if (e < 0 || this.length < e || this.length < r) throw new RangeError("Out of range index");
                        if (r <= e) return this;
                        var o;
                        if (((e >>>= 0), (r = void 0 === r ? this.length : r >>> 0), t || (t = 0), "number" == typeof t)) for (o = e; o < r; ++o) this[o] = t;
                        else {
                            var a = u.isBuffer(t) ? t : M(new u(t, n).toString()),
                                s = a.length;
                            for (o = 0; o < r - e; ++o) this[o + e] = a[o % s];
                        }
                        return this;
                    });
                var F = /[^+\/0-9A-Za-z-_]/g;
                function L(t) {
                    return t < 16 ? "0" + t.toString(16) : t.toString(16);
                }
                function M(t, e) {
                    var r;
                    e = e || 1 / 0;
                    for (var n = t.length, i = null, o = [], a = 0; a < n; ++a) {
                        if ((r = t.charCodeAt(a)) > 55295 && r < 57344) {
                            if (!i) {
                                if (r > 56319) {
                                    (e -= 3) > -1 && o.push(239, 191, 189);
                                    continue;
                                }
                                if (a + 1 === n) {
                                    (e -= 3) > -1 && o.push(239, 191, 189);
                                    continue;
                                }
                                i = r;
                                continue;
                            }
                            if (r < 56320) {
                                (e -= 3) > -1 && o.push(239, 191, 189), (i = r);
                                continue;
                            }
                            r = 65536 + (((i - 55296) << 10) | (r - 56320));
                        } else i && (e -= 3) > -1 && o.push(239, 191, 189);
                        if (((i = null), r < 128)) {
                            if ((e -= 1) < 0) break;
                            o.push(r);
                        } else if (r < 2048) {
                            if ((e -= 2) < 0) break;
                            o.push((r >> 6) | 192, (63 & r) | 128);
                        } else if (r < 65536) {
                            if ((e -= 3) < 0) break;
                            o.push((r >> 12) | 224, ((r >> 6) & 63) | 128, (63 & r) | 128);
                        } else {
                            if (!(r < 1114112)) throw new Error("Invalid code point");
                            if ((e -= 4) < 0) break;
                            o.push((r >> 18) | 240, ((r >> 12) & 63) | 128, ((r >> 6) & 63) | 128, (63 & r) | 128);
                        }
                    }
                    return o;
                }
                function j(t) {
                    return n.toByteArray(
                        (function (t) {
                            if (
                                (t = (function (t) {
                                    return t.trim ? t.trim() : t.replace(/^\s+|\s+$/g, "");
                                })(t).replace(F, "")).length < 2
                            )
                                return "";
                            for (; t.length % 4 != 0; ) t += "=";
                            return t;
                        })(t)
                    );
                }
                function Z(t, e, r, n) {
                    for (var i = 0; i < n && !(i + r >= e.length || i >= t.length); ++i) e[i + r] = t[i];
                    return i;
                }
            }).call(this, r(2));
        },
        function (t, e, r) {
            "use strict";
            (e.byteLength = function (t) {
                var e = l(t),
                    r = e[0],
                    n = e[1];
                return (3 * (r + n)) / 4 - n;
            }),
                (e.toByteArray = function (t) {
                    var e,
                        r,
                        n = l(t),
                        a = n[0],
                        s = n[1],
                        u = new o(
                            (function (t, e, r) {
                                return (3 * (e + r)) / 4 - r;
                            })(0, a, s)
                        ),
                        c = 0,
                        f = s > 0 ? a - 4 : a;
                    for (r = 0; r < f; r += 4)
                        (e = (i[t.charCodeAt(r)] << 18) | (i[t.charCodeAt(r + 1)] << 12) | (i[t.charCodeAt(r + 2)] << 6) | i[t.charCodeAt(r + 3)]),
                            (u[c++] = (e >> 16) & 255),
                            (u[c++] = (e >> 8) & 255),
                            (u[c++] = 255 & e);
                    2 === s && ((e = (i[t.charCodeAt(r)] << 2) | (i[t.charCodeAt(r + 1)] >> 4)), (u[c++] = 255 & e));
                    1 === s &&
                        ((e = (i[t.charCodeAt(r)] << 10) | (i[t.charCodeAt(r + 1)] << 4) | (i[t.charCodeAt(r + 2)] >> 2)),
                        (u[c++] = (e >> 8) & 255),
                        (u[c++] = 255 & e));
                    return u;
                }),
                (e.fromByteArray = function (t) {
                    for (var e, r = t.length, i = r % 3, o = [], a = 0, s = r - i; a < s; a += 16383) o.push(c(t, a, a + 16383 > s ? s : a + 16383));
                    1 === i
                        ? ((e = t[r - 1]), o.push(n[e >> 2] + n[(e << 4) & 63] + "=="))
                        : 2 === i && ((e = (t[r - 2] << 8) + t[r - 1]), o.push(n[e >> 10] + n[(e >> 4) & 63] + n[(e << 2) & 63] + "="));
                    return o.join("");
                });
            for (
                var n = [],
                    i = [],
                    o = "undefined" != typeof Uint8Array ? Uint8Array : Array,
                    a = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",
                    s = 0,
                    u = a.length;
                s < u;
                ++s
            )
                (n[s] = a[s]), (i[a.charCodeAt(s)] = s);
            function l(t) {
                var e = t.length;
                if (e % 4 > 0) throw new Error("Invalid string. Length must be a multiple of 4");
                var r = t.indexOf("=");
                return -1 === r && (r = e), [r, r === e ? 0 : 4 - (r % 4)];
            }
            function c(t, e, r) {
                for (var i, o, a = [], s = e; s < r; s += 3)
                    (i = ((t[s] << 16) & 16711680) + ((t[s + 1] << 8) & 65280) + (255 & t[s + 2])),
                        a.push(n[((o = i) >> 18) & 63] + n[(o >> 12) & 63] + n[(o >> 6) & 63] + n[63 & o]);
                return a.join("");
            }
            (i["-".charCodeAt(0)] = 62), (i["_".charCodeAt(0)] = 63);
        },
        function (t, e) {
            /*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */
            (e.read = function (t, e, r, n, i) {
                var o,
                    a,
                    s = 8 * i - n - 1,
                    u = (1 << s) - 1,
                    l = u >> 1,
                    c = -7,
                    f = r ? i - 1 : 0,
                    h = r ? -1 : 1,
                    d = t[e + f];
                for (f += h, o = d & ((1 << -c) - 1), d >>= -c, c += s; c > 0; o = 256 * o + t[e + f], f += h, c -= 8);
                for (a = o & ((1 << -c) - 1), o >>= -c, c += n; c > 0; a = 256 * a + t[e + f], f += h, c -= 8);
                if (0 === o) o = 1 - l;
                else {
                    if (o === u) return a ? NaN : (1 / 0) * (d ? -1 : 1);
                    (a += Math.pow(2, n)), (o -= l);
                }
                return (d ? -1 : 1) * a * Math.pow(2, o - n);
            }),
                (e.write = function (t, e, r, n, i, o) {
                    var a,
                        s,
                        u,
                        l = 8 * o - i - 1,
                        c = (1 << l) - 1,
                        f = c >> 1,
                        h = 23 === i ? Math.pow(2, -24) - Math.pow(2, -77) : 0,
                        d = n ? 0 : o - 1,
                        p = n ? 1 : -1,
                        m = e < 0 || (0 === e && 1 / e < 0) ? 1 : 0;
                    for (
                        e = Math.abs(e),
                            isNaN(e) || e === 1 / 0
                                ? ((s = isNaN(e) ? 1 : 0), (a = c))
                                : ((a = Math.floor(Math.log(e) / Math.LN2)),
                                  e * (u = Math.pow(2, -a)) < 1 && (a--, (u *= 2)),
                                  (e += a + f >= 1 ? h / u : h * Math.pow(2, 1 - f)) * u >= 2 && (a++, (u /= 2)),
                                  a + f >= c
                                      ? ((s = 0), (a = c))
                                      : a + f >= 1
                                      ? ((s = (e * u - 1) * Math.pow(2, i)), (a += f))
                                      : ((s = e * Math.pow(2, f - 1) * Math.pow(2, i)), (a = 0)));
                        i >= 8;
                        t[r + d] = 255 & s, d += p, s /= 256, i -= 8
                    );
                    for (a = (a << i) | s, l += i; l > 0; t[r + d] = 255 & a, d += p, a /= 256, l -= 8);
                    t[r + d - p] |= 128 * m;
                });
        },
        function (t, e) {
            var r = {}.toString;
            t.exports =
                Array.isArray ||
                function (t) {
                    return "[object Array]" == r.call(t);
                };
        },
        function (t, e, r) {
            (function (t) {
                var n = (void 0 !== t && t) || ("undefined" != typeof self && self) || window,
                    i = Function.prototype.apply;
                function o(t, e) {
                    (this._id = t), (this._clearFn = e);
                }
                (e.setTimeout = function () {
                    return new o(i.call(setTimeout, n, arguments), clearTimeout);
                }),
                    (e.setInterval = function () {
                        return new o(i.call(setInterval, n, arguments), clearInterval);
                    }),
                    (e.clearTimeout = e.clearInterval =
                        function (t) {
                            t && t.close();
                        }),
                    (o.prototype.unref = o.prototype.ref = function () {}),
                    (o.prototype.close = function () {
                        this._clearFn.call(n, this._id);
                    }),
                    (e.enroll = function (t, e) {
                        clearTimeout(t._idleTimeoutId), (t._idleTimeout = e);
                    }),
                    (e.unenroll = function (t) {
                        clearTimeout(t._idleTimeoutId), (t._idleTimeout = -1);
                    }),
                    (e._unrefActive = e.active =
                        function (t) {
                            clearTimeout(t._idleTimeoutId);
                            var e = t._idleTimeout;
                            e >= 0 &&
                                (t._idleTimeoutId = setTimeout(function () {
                                    t._onTimeout && t._onTimeout();
                                }, e));
                        }),
                    r(14),
                    (e.setImmediate = ("undefined" != typeof self && self.setImmediate) || (void 0 !== t && t.setImmediate) || (this && this.setImmediate)),
                    (e.clearImmediate =
                        ("undefined" != typeof self && self.clearImmediate) || (void 0 !== t && t.clearImmediate) || (this && this.clearImmediate));
            }).call(this, r(2));
        },
        function (t, e, r) {
            (function (t, e) {
                !(function (t, r) {
                    "use strict";
                    if (!t.setImmediate) {
                        var n,
                            i,
                            o,
                            a,
                            s,
                            u = 1,
                            l = {},
                            c = !1,
                            f = t.document,
                            h = Object.getPrototypeOf && Object.getPrototypeOf(t);
                        (h = h && h.setTimeout ? h : t),
                            "[object process]" === {}.toString.call(t.process)
                                ? (n = function (t) {
                                      e.nextTick(function () {
                                          p(t);
                                      });
                                  })
                                : !(function () {
                                      if (t.postMessage && !t.importScripts) {
                                          var e = !0,
                                              r = t.onmessage;
                                          return (
                                              (t.onmessage = function () {
                                                  e = !1;
                                              }),
                                              t.postMessage("", "*"),
                                              (t.onmessage = r),
                                              e
                                          );
                                      }
                                  })()
                                ? t.MessageChannel
                                    ? (((o = new MessageChannel()).port1.onmessage = function (t) {
                                          p(t.data);
                                      }),
                                      (n = function (t) {
                                          o.port2.postMessage(t);
                                      }))
                                    : f && "onreadystatechange" in f.createElement("script")
                                    ? ((i = f.documentElement),
                                      (n = function (t) {
                                          var e = f.createElement("script");
                                          (e.onreadystatechange = function () {
                                              p(t), (e.onreadystatechange = null), i.removeChild(e), (e = null);
                                          }),
                                              i.appendChild(e);
                                      }))
                                    : (n = function (t) {
                                          setTimeout(p, 0, t);
                                      })
                                : ((a = "setImmediate$" + Math.random() + "$"),
                                  (s = function (e) {
                                      e.source === t && "string" == typeof e.data && 0 === e.data.indexOf(a) && p(+e.data.slice(a.length));
                                  }),
                                  t.addEventListener ? t.addEventListener("message", s, !1) : t.attachEvent("onmessage", s),
                                  (n = function (e) {
                                      t.postMessage(a + e, "*");
                                  })),
                            (h.setImmediate = function (t) {
                                "function" != typeof t && (t = new Function("" + t));
                                for (var e = new Array(arguments.length - 1), r = 0; r < e.length; r++) e[r] = arguments[r + 1];
                                var i = { callback: t, args: e };
                                return (l[u] = i), n(u), u++;
                            }),
                            (h.clearImmediate = d);
                    }
                    function d(t) {
                        delete l[t];
                    }
                    function p(t) {
                        if (c) setTimeout(p, 0, t);
                        else {
                            var e = l[t];
                            if (e) {
                                c = !0;
                                try {
                                    !(function (t) {
                                        var e = t.callback,
                                            r = t.args;
                                        switch (r.length) {
                                            case 0:
                                                e();
                                                break;
                                            case 1:
                                                e(r[0]);
                                                break;
                                            case 2:
                                                e(r[0], r[1]);
                                                break;
                                            case 3:
                                                e(r[0], r[1], r[2]);
                                                break;
                                            default:
                                                e.apply(void 0, r);
                                        }
                                    })(e);
                                } finally {
                                    d(t), (c = !1);
                                }
                            }
                        }
                    }
                })("undefined" == typeof self ? (void 0 === t ? this : t) : self);
            }).call(this, r(2), r(3));
        },
        function (t, e) {
            function r(t) {
                var e = new Error("Cannot find module '" + t + "'");
                throw ((e.code = "MODULE_NOT_FOUND"), e);
            }
            (r.keys = function () {
                return [];
            }),
                (r.resolve = r),
                (t.exports = r),
                (r.id = 15);
        },
        function (t, e, r) {
            function n(t) {
                this.options = t || { locator: {} };
            }
            function i() {
                this.cdata = !1;
            }
            function o(t, e) {
                (e.lineNumber = t.lineNumber), (e.columnNumber = t.columnNumber);
            }
            function a(t) {
                if (t) return "\n@" + (t.systemId || "") + "#[line:" + t.lineNumber + ",col:" + t.columnNumber + "]";
            }
            function s(t, e, r) {
                return "string" == typeof t ? t.substr(e, r) : t.length >= e + r || e ? new java.lang.String(t, e, r) + "" : t;
            }
            function u(t, e) {
                t.currentElement ? t.currentElement.appendChild(e) : t.doc.appendChild(e);
            }
            (n.prototype.parseFromString = function (t, e) {
                var r = this.options,
                    n = new f(),
                    o = r.domBuilder || new i(),
                    s = r.errorHandler,
                    u = r.locator,
                    c = r.xmlns || {},
                    h = /\/x?html?$/.test(e),
                    d = h ? l.entityMap : { lt: "<", gt: ">", amp: "&", quot: '"', apos: "'" };
                return (
                    u && o.setDocumentLocator(u),
                    (n.errorHandler = (function (t, e, r) {
                        if (!t) {
                            if (e instanceof i) return e;
                            t = e;
                        }
                        var n = {},
                            o = t instanceof Function;
                        function s(e) {
                            var i = t[e];
                            !i &&
                                o &&
                                (i =
                                    2 == t.length
                                        ? function (r) {
                                              t(e, r);
                                          }
                                        : t),
                                (n[e] =
                                    (i &&
                                        function (t) {
                                            i("[xmldom " + e + "]\t" + t + a(r));
                                        }) ||
                                    function () {});
                        }
                        return (r = r || {}), s("warning"), s("error"), s("fatalError"), n;
                    })(s, o, u)),
                    (n.domBuilder = r.domBuilder || o),
                    h && (c[""] = "http://www.w3.org/1999/xhtml"),
                    (c.xml = c.xml || "http://www.w3.org/XML/1998/namespace"),
                    t && "string" == typeof t ? n.parse(t, c, d) : n.errorHandler.error("invalid doc source"),
                    o.doc
                );
            }),
                (i.prototype = {
                    startDocument: function () {
                        (this.doc = new d().createDocument(null, null, null)), this.locator && (this.doc.documentURI = this.locator.systemId);
                    },
                    startElement: function (t, e, r, n) {
                        var i = this.doc,
                            a = i.createElementNS(t, r || e),
                            s = n.length;
                        u(this, a), (this.currentElement = a), this.locator && o(this.locator, a);
                        for (var l = 0; l < s; l++) {
                            t = n.getURI(l);
                            var c = n.getValue(l),
                                f = ((r = n.getQName(l)), i.createAttributeNS(t, r));
                            this.locator && o(n.getLocator(l), f), (f.value = f.nodeValue = c), a.setAttributeNode(f);
                        }
                    },
                    endElement: function (t, e, r) {
                        var n = this.currentElement;
                        n.tagName;
                        this.currentElement = n.parentNode;
                    },
                    startPrefixMapping: function (t, e) {},
                    endPrefixMapping: function (t) {},
                    processingInstruction: function (t, e) {
                        var r = this.doc.createProcessingInstruction(t, e);
                        this.locator && o(this.locator, r), u(this, r);
                    },
                    ignorableWhitespace: function (t, e, r) {},
                    characters: function (t, e, r) {
                        if ((t = s.apply(this, arguments))) {
                            if (this.cdata) var n = this.doc.createCDATASection(t);
                            else n = this.doc.createTextNode(t);
                            this.currentElement ? this.currentElement.appendChild(n) : /^\s*$/.test(t) && this.doc.appendChild(n),
                                this.locator && o(this.locator, n);
                        }
                    },
                    skippedEntity: function (t) {},
                    endDocument: function () {
                        this.doc.normalize();
                    },
                    setDocumentLocator: function (t) {
                        (this.locator = t) && (t.lineNumber = 0);
                    },
                    comment: function (t, e, r) {
                        t = s.apply(this, arguments);
                        var n = this.doc.createComment(t);
                        this.locator && o(this.locator, n), u(this, n);
                    },
                    startCDATA: function () {
                        this.cdata = !0;
                    },
                    endCDATA: function () {
                        this.cdata = !1;
                    },
                    startDTD: function (t, e, r) {
                        var n = this.doc.implementation;
                        if (n && n.createDocumentType) {
                            var i = n.createDocumentType(t, e, r);
                            this.locator && o(this.locator, i), u(this, i);
                        }
                    },
                    warning: function (t) {
                        console.warn("[xmldom warning]\t" + t, a(this.locator));
                    },
                    error: function (t) {
                        console.error("[xmldom error]\t" + t, a(this.locator));
                    },
                    fatalError: function (t) {
                        throw new h(t, this.locator);
                    },
                }),
                "endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(
                    /\w+/g,
                    function (t) {
                        i.prototype[t] = function () {
                            return null;
                        };
                    }
                );
            var l = r(17),
                c = r(18),
                f = c.XMLReader,
                h = c.ParseError,
                d = (e.DOMImplementation = r(4).DOMImplementation);
            (e.XMLSerializer = r(4).XMLSerializer), (e.DOMParser = n), (e.__DOMHandler = i);
        },
        function (t, e) {
            e.entityMap = {
                lt: "<",
                gt: ">",
                amp: "&",
                quot: '"',
                apos: "'",
                Agrave: "À",
                Aacute: "Á",
                Acirc: "Â",
                Atilde: "Ã",
                Auml: "Ä",
                Aring: "Å",
                AElig: "Æ",
                Ccedil: "Ç",
                Egrave: "È",
                Eacute: "É",
                Ecirc: "Ê",
                Euml: "Ë",
                Igrave: "Ì",
                Iacute: "Í",
                Icirc: "Î",
                Iuml: "Ï",
                ETH: "Ð",
                Ntilde: "Ñ",
                Ograve: "Ò",
                Oacute: "Ó",
                Ocirc: "Ô",
                Otilde: "Õ",
                Ouml: "Ö",
                Oslash: "Ø",
                Ugrave: "Ù",
                Uacute: "Ú",
                Ucirc: "Û",
                Uuml: "Ü",
                Yacute: "Ý",
                THORN: "Þ",
                szlig: "ß",
                agrave: "à",
                aacute: "á",
                acirc: "â",
                atilde: "ã",
                auml: "ä",
                aring: "å",
                aelig: "æ",
                ccedil: "ç",
                egrave: "è",
                eacute: "é",
                ecirc: "ê",
                euml: "ë",
                igrave: "ì",
                iacute: "í",
                icirc: "î",
                iuml: "ï",
                eth: "ð",
                ntilde: "ñ",
                ograve: "ò",
                oacute: "ó",
                ocirc: "ô",
                otilde: "õ",
                ouml: "ö",
                oslash: "ø",
                ugrave: "ù",
                uacute: "ú",
                ucirc: "û",
                uuml: "ü",
                yacute: "ý",
                thorn: "þ",
                yuml: "ÿ",
                nbsp: " ",
                iexcl: "¡",
                cent: "¢",
                pound: "£",
                curren: "¤",
                yen: "¥",
                brvbar: "¦",
                sect: "§",
                uml: "¨",
                copy: "©",
                ordf: "ª",
                laquo: "«",
                not: "¬",
                shy: "­­",
                reg: "®",
                macr: "¯",
                deg: "°",
                plusmn: "±",
                sup2: "²",
                sup3: "³",
                acute: "´",
                micro: "µ",
                para: "¶",
                middot: "·",
                cedil: "¸",
                sup1: "¹",
                ordm: "º",
                raquo: "»",
                frac14: "¼",
                frac12: "½",
                frac34: "¾",
                iquest: "¿",
                times: "×",
                divide: "÷",
                forall: "∀",
                part: "∂",
                exist: "∃",
                empty: "∅",
                nabla: "∇",
                isin: "∈",
                notin: "∉",
                ni: "∋",
                prod: "∏",
                sum: "∑",
                minus: "−",
                lowast: "∗",
                radic: "√",
                prop: "∝",
                infin: "∞",
                ang: "∠",
                and: "∧",
                or: "∨",
                cap: "∩",
                cup: "∪",
                int: "∫",
                there4: "∴",
                sim: "∼",
                cong: "≅",
                asymp: "≈",
                ne: "≠",
                equiv: "≡",
                le: "≤",
                ge: "≥",
                sub: "⊂",
                sup: "⊃",
                nsub: "⊄",
                sube: "⊆",
                supe: "⊇",
                oplus: "⊕",
                otimes: "⊗",
                perp: "⊥",
                sdot: "⋅",
                Alpha: "Α",
                Beta: "Β",
                Gamma: "Γ",
                Delta: "Δ",
                Epsilon: "Ε",
                Zeta: "Ζ",
                Eta: "Η",
                Theta: "Θ",
                Iota: "Ι",
                Kappa: "Κ",
                Lambda: "Λ",
                Mu: "Μ",
                Nu: "Ν",
                Xi: "Ξ",
                Omicron: "Ο",
                Pi: "Π",
                Rho: "Ρ",
                Sigma: "Σ",
                Tau: "Τ",
                Upsilon: "Υ",
                Phi: "Φ",
                Chi: "Χ",
                Psi: "Ψ",
                Omega: "Ω",
                alpha: "α",
                beta: "β",
                gamma: "γ",
                delta: "δ",
                epsilon: "ε",
                zeta: "ζ",
                eta: "η",
                theta: "θ",
                iota: "ι",
                kappa: "κ",
                lambda: "λ",
                mu: "μ",
                nu: "ν",
                xi: "ξ",
                omicron: "ο",
                pi: "π",
                rho: "ρ",
                sigmaf: "ς",
                sigma: "σ",
                tau: "τ",
                upsilon: "υ",
                phi: "φ",
                chi: "χ",
                psi: "ψ",
                omega: "ω",
                thetasym: "ϑ",
                upsih: "ϒ",
                piv: "ϖ",
                OElig: "Œ",
                oelig: "œ",
                Scaron: "Š",
                scaron: "š",
                Yuml: "Ÿ",
                fnof: "ƒ",
                circ: "ˆ",
                tilde: "˜",
                ensp: " ",
                emsp: " ",
                thinsp: " ",
                zwnj: "‌",
                zwj: "‍",
                lrm: "‎",
                rlm: "‏",
                ndash: "–",
                mdash: "—",
                lsquo: "‘",
                rsquo: "’",
                sbquo: "‚",
                ldquo: "“",
                rdquo: "”",
                bdquo: "„",
                dagger: "†",
                Dagger: "‡",
                bull: "•",
                hellip: "…",
                permil: "‰",
                prime: "′",
                Prime: "″",
                lsaquo: "‹",
                rsaquo: "›",
                oline: "‾",
                euro: "€",
                trade: "™",
                larr: "←",
                uarr: "↑",
                rarr: "→",
                darr: "↓",
                harr: "↔",
                crarr: "↵",
                lceil: "⌈",
                rceil: "⌉",
                lfloor: "⌊",
                rfloor: "⌋",
                loz: "◊",
                spades: "♠",
                clubs: "♣",
                hearts: "♥",
                diams: "♦",
            };
        },
        function (t, e) {
            var r =
                    /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/,
                n = new RegExp("[\\-\\.0-9" + r.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"),
                i = new RegExp("^" + r.source + n.source + "*(?::" + r.source + n.source + "*)?$");
            function o(t, e) {
                (this.message = t), (this.locator = e), Error.captureStackTrace && Error.captureStackTrace(this, o);
            }
            function a() {}
            function s(t, e) {
                return (e.lineNumber = t.lineNumber), (e.columnNumber = t.columnNumber), e;
            }
            function u(t, e, r, n, i, o) {
                function a(t, e, n) {
                    t in r.attributeNames && o.fatalError("Attribute " + t + " redefined"), r.addValue(t, e, n);
                }
                for (var s, u = ++e, l = 0; ; ) {
                    var c = t.charAt(u);
                    switch (c) {
                        case "=":
                            if (1 === l) (s = t.slice(e, u)), (l = 3);
                            else {
                                if (2 !== l) throw new Error("attribute equal must after attrName");
                                l = 3;
                            }
                            break;
                        case "'":
                        case '"':
                            if (3 === l || 1 === l) {
                                if ((1 === l && (o.warning('attribute value must after "="'), (s = t.slice(e, u))), (e = u + 1), !((u = t.indexOf(c, e)) > 0)))
                                    throw new Error("attribute value no end '" + c + "' match");
                                a(s, (f = t.slice(e, u).replace(/&#?\w+;/g, i)), e - 1), (l = 5);
                            } else {
                                if (4 != l) throw new Error('attribute value must after "="');
                                a(s, (f = t.slice(e, u).replace(/&#?\w+;/g, i)), e),
                                    o.warning('attribute "' + s + '" missed start quot(' + c + ")!!"),
                                    (e = u + 1),
                                    (l = 5);
                            }
                            break;
                        case "/":
                            switch (l) {
                                case 0:
                                    r.setTagName(t.slice(e, u));
                                case 5:
                                case 6:
                                case 7:
                                    (l = 7), (r.closed = !0);
                                case 4:
                                case 1:
                                case 2:
                                    break;
                                default:
                                    throw new Error("attribute invalid close char('/')");
                            }
                            break;
                        case "":
                            return o.error("unexpected end of input"), 0 == l && r.setTagName(t.slice(e, u)), u;
                        case ">":
                            switch (l) {
                                case 0:
                                    r.setTagName(t.slice(e, u));
                                case 5:
                                case 6:
                                case 7:
                                    break;
                                case 4:
                                case 1:
                                    "/" === (f = t.slice(e, u)).slice(-1) && ((r.closed = !0), (f = f.slice(0, -1)));
                                case 2:
                                    2 === l && (f = s),
                                        4 == l
                                            ? (o.warning('attribute "' + f + '" missed quot(")!'), a(s, f.replace(/&#?\w+;/g, i), e))
                                            : (("http://www.w3.org/1999/xhtml" === n[""] && f.match(/^(?:disabled|checked|selected)$/i)) ||
                                                  o.warning('attribute "' + f + '" missed value!! "' + f + '" instead!!'),
                                              a(f, f, e));
                                    break;
                                case 3:
                                    throw new Error("attribute value missed!!");
                            }
                            return u;
                        case "":
                            c = " ";
                        default:
                            if (c <= " ")
                                switch (l) {
                                    case 0:
                                        r.setTagName(t.slice(e, u)), (l = 6);
                                        break;
                                    case 1:
                                        (s = t.slice(e, u)), (l = 2);
                                        break;
                                    case 4:
                                        var f = t.slice(e, u).replace(/&#?\w+;/g, i);
                                        o.warning('attribute "' + f + '" missed quot(")!!'), a(s, f, e);
                                    case 5:
                                        l = 6;
                                }
                            else
                                switch (l) {
                                    case 2:
                                        r.tagName;
                                        ("http://www.w3.org/1999/xhtml" === n[""] && s.match(/^(?:disabled|checked|selected)$/i)) ||
                                            o.warning('attribute "' + s + '" missed value!! "' + s + '" instead2!!'),
                                            a(s, s, e),
                                            (e = u),
                                            (l = 1);
                                        break;
                                    case 5:
                                        o.warning('attribute space is required"' + s + '"!!');
                                    case 6:
                                        (l = 1), (e = u);
                                        break;
                                    case 3:
                                        (l = 4), (e = u);
                                        break;
                                    case 7:
                                        throw new Error("elements closed character '/' and '>' must be connected to");
                                }
                    }
                    u++;
                }
            }
            function l(t, e, r) {
                for (var n = t.tagName, i = null, o = t.length; o--; ) {
                    var a = t[o],
                        s = a.qName,
                        u = a.value;
                    if ((d = s.indexOf(":")) > 0)
                        var l = (a.prefix = s.slice(0, d)),
                            c = s.slice(d + 1),
                            f = "xmlns" === l && c;
                    else (c = s), (l = null), (f = "xmlns" === s && "");
                    (a.localName = c),
                        !1 !== f &&
                            (null == i && ((i = {}), h(r, (r = {}))), (r[f] = i[f] = u), (a.uri = "http://www.w3.org/2000/xmlns/"), e.startPrefixMapping(f, u));
                }
                for (o = t.length; o--; ) {
                    (l = (a = t[o]).prefix) && ("xml" === l && (a.uri = "http://www.w3.org/XML/1998/namespace"), "xmlns" !== l && (a.uri = r[l || ""]));
                }
                var d;
                (d = n.indexOf(":")) > 0 ? ((l = t.prefix = n.slice(0, d)), (c = t.localName = n.slice(d + 1))) : ((l = null), (c = t.localName = n));
                var p = (t.uri = r[l || ""]);
                if ((e.startElement(p, c, n, t), !t.closed)) return (t.currentNSMap = r), (t.localNSMap = i), !0;
                if ((e.endElement(p, c, n), i)) for (l in i) e.endPrefixMapping(l);
            }
            function c(t, e, r, n, i) {
                if (/^(?:script|textarea)$/i.test(r)) {
                    var o = t.indexOf("</" + r + ">", e),
                        a = t.substring(e + 1, o);
                    if (/[&<]/.test(a))
                        return /^script$/i.test(r) ? (i.characters(a, 0, a.length), o) : ((a = a.replace(/&#?\w+;/g, n)), i.characters(a, 0, a.length), o);
                }
                return e + 1;
            }
            function f(t, e, r, n) {
                var i = n[r];
                return null == i && ((i = t.lastIndexOf("</" + r + ">")) < e && (i = t.lastIndexOf("</" + r)), (n[r] = i)), i < e;
            }
            function h(t, e) {
                for (var r in t) e[r] = t[r];
            }
            function d(t, e, r, n) {
                switch (t.charAt(e + 2)) {
                    case "-":
                        return "-" === t.charAt(e + 3)
                            ? (i = t.indexOf("--\x3e", e + 4)) > e
                                ? (r.comment(t, e + 4, i - e - 4), i + 3)
                                : (n.error("Unclosed comment"), -1)
                            : -1;
                    default:
                        if ("CDATA[" == t.substr(e + 3, 6)) {
                            var i = t.indexOf("]]>", e + 9);
                            return r.startCDATA(), r.characters(t, e + 9, i - e - 9), r.endCDATA(), i + 3;
                        }
                        var o = (function (t, e) {
                                var r,
                                    n = [],
                                    i = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
                                (i.lastIndex = e), i.exec(t);
                                for (; (r = i.exec(t)); ) if ((n.push(r), r[1])) return n;
                            })(t, e),
                            a = o.length;
                        if (a > 1 && /!doctype/i.test(o[0][0])) {
                            var s = o[1][0],
                                u = !1,
                                l = !1;
                            a > 3 && (/^public$/i.test(o[2][0]) ? ((u = o[3][0]), (l = a > 4 && o[4][0])) : /^system$/i.test(o[2][0]) && (l = o[3][0]));
                            var c = o[a - 1];
                            return r.startDTD(s, u, l), r.endDTD(), c.index + c[0].length;
                        }
                }
                return -1;
            }
            function p(t, e, r) {
                var n = t.indexOf("?>", e);
                if (n) {
                    var i = t.substring(e, n).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
                    if (i) {
                        i[0].length;
                        return r.processingInstruction(i[1], i[2]), n + 2;
                    }
                    return -1;
                }
                return -1;
            }
            function m() {
                this.attributeNames = {};
            }
            (o.prototype = new Error()),
                (o.prototype.name = o.name),
                (a.prototype = {
                    parse: function (t, e, r) {
                        var n = this.domBuilder;
                        n.startDocument(),
                            h(e, (e = {})),
                            (function (t, e, r, n, i) {
                                function a(t) {
                                    var e = t.slice(1, -1);
                                    return e in r
                                        ? r[e]
                                        : "#" === e.charAt(0)
                                        ? (function (t) {
                                              if (t > 65535) {
                                                  var e = 55296 + ((t -= 65536) >> 10),
                                                      r = 56320 + (1023 & t);
                                                  return String.fromCharCode(e, r);
                                              }
                                              return String.fromCharCode(t);
                                          })(parseInt(e.substr(1).replace("x", "0x")))
                                        : (i.error("entity not found:" + t), t);
                                }
                                function h(e) {
                                    if (e > x) {
                                        var r = t.substring(x, e).replace(/&#?\w+;/g, a);
                                        w && g(x), n.characters(r, 0, e - x), (x = e);
                                    }
                                }
                                function g(e, r) {
                                    for (; e >= v && (r = _.exec(t)); ) (y = r.index), (v = y + r[0].length), w.lineNumber++;
                                    w.columnNumber = e - y + 1;
                                }
                                var y = 0,
                                    v = 0,
                                    _ = /.*(?:\r\n?|\n)|.*$/g,
                                    w = n.locator,
                                    b = [{ currentNSMap: e }],
                                    k = {},
                                    x = 0;
                                for (;;) {
                                    try {
                                        var E = t.indexOf("<", x);
                                        if (E < 0) {
                                            if (!t.substr(x).match(/^\s*$/)) {
                                                var S = n.doc,
                                                    A = S.createTextNode(t.substr(x));
                                                S.appendChild(A), (n.currentElement = A);
                                            }
                                            return;
                                        }
                                        switch ((E > x && h(E), t.charAt(E + 1))) {
                                            case "/":
                                                var T = t.indexOf(">", E + 3),
                                                    C = t.substring(E + 2, T),
                                                    N = b.pop();
                                                T < 0
                                                    ? ((C = t.substring(E + 2).replace(/[\s<].*/, "")),
                                                      i.error("end tag name: " + C + " is not complete:" + N.tagName),
                                                      (T = E + 1 + C.length))
                                                    : C.match(/\s</) &&
                                                      ((C = C.replace(/[\s<].*/, "")),
                                                      i.error("end tag name: " + C + " maybe not complete"),
                                                      (T = E + 1 + C.length));
                                                var I = N.localNSMap,
                                                    O = N.tagName == C;
                                                if (O || (N.tagName && N.tagName.toLowerCase() == C.toLowerCase())) {
                                                    if ((n.endElement(N.uri, N.localName, C), I)) for (var R in I) n.endPrefixMapping(R);
                                                    O || i.fatalError("end tag name: " + C + " is not match the current start tagName:" + N.tagName);
                                                } else b.push(N);
                                                T++;
                                                break;
                                            case "?":
                                                w && g(E), (T = p(t, E, n));
                                                break;
                                            case "!":
                                                w && g(E), (T = d(t, E, n, i));
                                                break;
                                            default:
                                                w && g(E);
                                                var D = new m(),
                                                    z = b[b.length - 1].currentNSMap,
                                                    P = ((T = u(t, E, D, z, a, i)), D.length);
                                                if (
                                                    (!D.closed && f(t, T, D.tagName, k) && ((D.closed = !0), r.nbsp || i.warning("unclosed xml attribute")),
                                                    w && P)
                                                ) {
                                                    for (var B = s(w, {}), U = 0; U < P; U++) {
                                                        var F = D[U];
                                                        g(F.offset), (F.locator = s(w, {}));
                                                    }
                                                    (n.locator = B), l(D, n, z) && b.push(D), (n.locator = w);
                                                } else l(D, n, z) && b.push(D);
                                                "http://www.w3.org/1999/xhtml" !== D.uri || D.closed ? T++ : (T = c(t, T, D.tagName, a, n));
                                        }
                                    } catch (t) {
                                        if (t instanceof o) throw t;
                                        i.error("element parse error: " + t), (T = -1);
                                    }
                                    T > x ? (x = T) : h(Math.max(E, x) + 1);
                                }
                            })(t, e, r, n, this.errorHandler),
                            n.endDocument();
                    },
                }),
                (m.prototype = {
                    setTagName: function (t) {
                        if (!i.test(t)) throw new Error("invalid tagName:" + t);
                        this.tagName = t;
                    },
                    addValue: function (t, e, r) {
                        if (!i.test(t)) throw new Error("invalid attribute:" + t);
                        (this.attributeNames[t] = this.length), (this[this.length++] = { qName: t, value: e, offset: r });
                    },
                    length: 0,
                    getLocalName: function (t) {
                        return this[t].localName;
                    },
                    getLocator: function (t) {
                        return this[t].locator;
                    },
                    getQName: function (t) {
                        return this[t].qName;
                    },
                    getURI: function (t) {
                        return this[t].uri;
                    },
                    getValue: function (t) {
                        return this[t].value;
                    },
                }),
                (e.XMLReader = a),
                (e.ParseError = o);
        },
        function (t, e, r) {
            "use strict";
            r.r(e),
                r.d(e, "toKml", function () {
                    return v;
                }),
                r.d(e, "toGeoJSON", function () {
                    return x;
                });
            var n = r(5),
                i = r.n(n),
                o = r(6),
                a = r(0);
            function s(t, e) {
                return (
                    '<?xml version="1.0" encoding="UTF-8"?>' +
                    m(
                        "kml",
                        m(
                            "Document",
                            (function (t) {
                                return void 0 !== t.documentName ? m("name", t.documentName) : "";
                            })(
                                (e = e || {
                                    documentName: void 0,
                                    documentDescription: void 0,
                                    name: "name",
                                    description: "description",
                                    simplestyle: !1,
                                    timestamp: "timestamp",
                                })
                            ) +
                                (function (t) {
                                    return void 0 !== t.documentDescription ? m("description", t.documentDescription) : "";
                                })(e) +
                                (function (t, e) {
                                    if (!t.type) return "";
                                    var r = [];
                                    switch (t.type) {
                                        case "FeatureCollection":
                                            return t.features ? t.features.map(u(e, r)).join("") : "";
                                        case "Feature":
                                            return u(e, r)(t);
                                        default:
                                            return u(e, r)({ type: "Feature", geometry: t, properties: {} });
                                    }
                                })(t, e)
                        ),
                        [["xmlns", "http://www.opengis.net/kml/2.2"]]
                    )
                );
            }
            function u(t, e) {
                return function (r) {
                    if (!r.properties || !l.valid(r.geometry)) return "";
                    var n = l.any(r.geometry);
                    if (!n) return "";
                    var i = "",
                        o = "";
                    if (t.simplestyle) {
                        var a = (function (t) {
                            var e = "";
                            t["marker-symbol"] && (e = e + "ms" + t["marker-symbol"]);
                            t["marker-color"] && (e = e + "mc" + t["marker-color"].replace("#", ""));
                            t["marker-size"] && (e = e + "ms" + t["marker-size"]);
                            t.stroke && (e = e + "s" + t.stroke.replace("#", ""));
                            t["stroke-width"] && (e = e + "sw" + t["stroke-width"].toString().replace(".", ""));
                            t["stroke-opacity"] && (e = e + "mo" + t["stroke-opacity"].toString().replace(".", ""));
                            t.fill && (e = e + "f" + t.fill.replace("#", ""));
                            t["fill-opacity"] && (e = e + "fo" + t["fill-opacity"].toString().replace(".", ""));
                            return e;
                        })(r.properties);
                        a &&
                            (l.isPoint(r.geometry) &&
                            (function (t) {
                                return !!(t["marker-size"] || t["marker-symbol"] || t["marker-color"]);
                            })(r.properties)
                                ? (-1 === e.indexOf(a) &&
                                      ((i = (function (t, e) {
                                          return m(
                                              "Style",
                                              m(
                                                  "IconStyle",
                                                  m(
                                                      "Icon",
                                                      m(
                                                          "href",
                                                          (function (t) {
                                                              return t["marker-symbol"];
                                                          })(t)
                                                      )
                                                  )
                                              ) +
                                                  m("hotSpot", "", [
                                                      ["xunits", "fraction"],
                                                      ["yunits", "fraction"],
                                                      ["x", 0.5],
                                                      ["y", 0.5],
                                                  ]),
                                              [["id", e]]
                                          );
                                      })(r.properties, a)),
                                      e.push(a)),
                                  (o = m("styleUrl", "#" + a)))
                                : (l.isPolygon(r.geometry) || l.isLine(r.geometry)) &&
                                  (function (t) {
                                      for (var e in t) if ({ stroke: !0, "stroke-opacity": !0, "stroke-width": !0, fill: !0, "fill-opacity": !0 }[e]) return !0;
                                  })(r.properties) &&
                                  (-1 === e.indexOf(a) &&
                                      ((i = (function (t, e) {
                                          var r = m("LineStyle", [
                                                  m("color", f(t.stroke, t["stroke-opacity"]) || "ff555555") +
                                                      m("width", void 0 === t["stroke-width"] ? 2 : t["stroke-width"]),
                                              ]),
                                              n = "";
                                          (t.fill || t["fill-opacity"]) && (n = m("PolyStyle", [m("color", f(t.fill, t["fill-opacity"]) || "88555555")]));
                                          return m("Style", r + n, [["id", e]]);
                                      })(r.properties, a)),
                                      e.push(a)),
                                  (o = m("styleUrl", "#" + a))));
                    }
                    return (
                        i +
                        m(
                            "Placemark",
                            (function (t, e) {
                                return t[e.name] ? m("name", h(t[e.name])) : "";
                            })(r.properties, t) +
                                (function (t, e) {
                                    return t[e.description] ? m("description", h(t[e.description])) : "";
                                })(r.properties, t) +
                                (function (t) {
                                    var e = [];
                                    for (var r in t) {
                                        var n = t[r];
                                        (i = n),
                                            "[object Object]" === Object.prototype.toString.call(i)
                                                ? e.push('<Data name ="'.concat(r, '"><value>').concat(JSON.stringify(n), "</value></Data>"))
                                                : e.push('<Data name ="'.concat(r, '"><value>').concat(n, "</value></Data>"));
                                    }
                                    var i;
                                    return m("ExtendedData", e.join(""));
                                })(r.properties) +
                                (function (t, e) {
                                    return t[e.timestamp] ? m("TimeStamp", m("when", h(t[e.timestamp]))) : "";
                                })(r.properties, t) +
                                n +
                                o
                        )
                    );
                };
            }
            var l = {
                Point: function (t) {
                    return m("Point", m("coordinates", t.coordinates.join(",")));
                },
                LineString: function (t) {
                    return m("LineString", m("coordinates", c(t.coordinates)));
                },
                Polygon: function (t) {
                    if (!t.coordinates.length) return "";
                    var e = t.coordinates[0],
                        r = t.coordinates.slice(1),
                        n = m("outerBoundaryIs", m("LinearRing", m("coordinates", c(e)))),
                        i = r
                            .map(function (t) {
                                return m("innerBoundaryIs", m("LinearRing", m("coordinates", c(t))));
                            })
                            .join("");
                    return m("Polygon", n + i);
                },
                MultiPoint: function (t) {
                    return t.coordinates.length
                        ? m(
                              "MultiGeometry",
                              t.coordinates
                                  .map(function (t) {
                                      return l.Point({ coordinates: t });
                                  })
                                  .join("")
                          )
                        : "";
                },
                MultiPolygon: function (t) {
                    return t.coordinates.length
                        ? m(
                              "MultiGeometry",
                              t.coordinates
                                  .map(function (t) {
                                      return l.Polygon({ coordinates: t });
                                  })
                                  .join("")
                          )
                        : "";
                },
                MultiLineString: function (t) {
                    return t.coordinates.length
                        ? m(
                              "MultiGeometry",
                              t.coordinates
                                  .map(function (t) {
                                      return l.LineString({ coordinates: t });
                                  })
                                  .join("")
                          )
                        : "";
                },
                GeometryCollection: function (t) {
                    return m("MultiGeometry", t.geometries.map(l.any).join(""));
                },
                valid: function (t) {
                    return t && t.type && (t.coordinates || ("GeometryCollection" === t.type && t.geometries && t.geometries.every(l.valid)));
                },
                any: function (t) {
                    return l[t.type] ? l[t.type](t) : "";
                },
                isPoint: function (t) {
                    return "Point" === t.type || "MultiPoint" === t.type;
                },
                isPolygon: function (t) {
                    return "Polygon" === t.type || "MultiPolygon" === t.type;
                },
                isLine: function (t) {
                    return "LineString" === t.type || "MultiLineString" === t.type;
                },
            };
            function c(t) {
                return t
                    .map(function (t) {
                        return t.join(",");
                    })
                    .join(" ");
            }
            function f(t, e) {
                if ("string" != typeof t) return "";
                if (3 === (t = t.replace("#", "").toLowerCase()).length) t = t[0] + t[0] + t[1] + t[1] + t[2] + t[2];
                else if (6 !== t.length) return "";
                var r = t[0] + t[1],
                    n = t[2] + t[3],
                    i = t[4] + t[5],
                    o = "ff";
                return (
                    "number" == typeof e &&
                        e >= 0 &&
                        e <= 1 &&
                        ((o = (255 * e).toString(16)).indexOf(".") > -1 && (o = o.substr(0, o.indexOf("."))), o.length < 2 && (o = "0" + o)),
                    o + i + n + r
                );
            }
            function h(t) {
                return t ? t.toString().replace(/&/g, "&amp;").replace(/</g, "&lt;").replace(/>/g, "&gt;").replace(/"/g, "&quot;") : "";
            }
            function d(t) {
                return Object.keys(t).length
                    ? " " +
                          Object.keys(t)
                              .map(function (e) {
                                  return (
                                      e +
                                      '="' +
                                      (function (t, e) {
                                          var r;
                                          if (null == t) return;
                                          return (
                                              (e = (e || "").replace(/[^&"<>\']/g, "")),
                                              (r = "([&\"<>'])".replace(new RegExp("[" + e + "]", "g"), "")),
                                              t.replace(new RegExp(r, "g"), function (t, e) {
                                                  return p[e];
                                              })
                                          );
                                      })(t[e]) +
                                      '"'
                                  );
                              })
                              .join(" ")
                    : "";
            }
            var p = { ">": "&gt;", "<": "&lt;", "'": "&apos;", '"': "&quot;", "&": "&amp;" };
            function m(t, e, r) {
                return (
                    (Array.isArray(e) || "string" == typeof e) && ((r = e), (e = {})),
                    Array.isArray(r) &&
                        (r =
                            "\n" +
                            r
                                .map(function (t) {
                                    return "  " + t;
                                })
                                .join("\n") +
                            "\n"),
                    "<" + t + d(e) + ">" + r + "</" + t + ">"
                );
            }
            function g(t, e) {
                var r = Object.keys(t);
                if (Object.getOwnPropertySymbols) {
                    var n = Object.getOwnPropertySymbols(t);
                    e &&
                        (n = n.filter(function (e) {
                            return Object.getOwnPropertyDescriptor(t, e).enumerable;
                        })),
                        r.push.apply(r, n);
                }
                return r;
            }
            function y(t) {
                for (var e = 1; e < arguments.length; e++) {
                    var r = null != arguments[e] ? arguments[e] : {};
                    e % 2
                        ? g(Object(r), !0).forEach(function (e) {
                              i()(t, e, r[e]);
                          })
                        : Object.getOwnPropertyDescriptors
                        ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r))
                        : g(Object(r)).forEach(function (e) {
                              Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
                          });
                }
                return t;
            }
            function v(t, e) {
                return (
                    t.features
                        ? t.features.forEach(function (t) {
                              _(t);
                          })
                        : _(t),
                    s(t, e)
                );
            }
            function _(t) {
                var e;
                if (t.properties) {
                    var r,
                        n,
                        i = t.properties.style;
                    if (i) {
                        var o, a, s, u, l;
                        if (i.image) return (t.properties["marker-symbol"] = i.image), void (i.outlineColor && (t.properties["marker-color"] = i.outlineColor));
                        if ((i.color && ((t.properties.fill = i.color), i.opacity && (t.properties["fill-opacity"] = i.opacity)), i.outlineColor))
                            (t.properties.stroke = i.outlineColor),
                                (t.properties["stroke-width"] = null !== (s = i.outlineWidth) && void 0 !== s ? s : 1),
                                (t.properties["stroke-opacity"] =
                                    null !== (u = null !== (l = i.outlineOpacity) && void 0 !== l ? l : i.opacity) && void 0 !== u ? u : 1);
                        i.html &&
                            (i.html =
                                ((r = i.html), null != (n = document.createElement("div")).textContent ? (n.textContent = r) : (n.innerText = r), n.innerHTML)),
                            i.closure &&
                                (null === (o = t.geometry) || void 0 === o || null === (a = o.coordinates) || void 0 === a ? void 0 : a.length) > 0 &&
                                t.geometry.coordinates.push(t.geometry.coordinates[0]);
                    }
                    var c = null == t || null === (e = t.properties) || void 0 === e ? void 0 : e.type;
                    if ("polygon" == c) {
                        var f = t.geometry.coordinates[0];
                        (null == f ? void 0 : f.length) > 2 && f.push(f[0]);
                    } else if ("rectangle" == c) {
                        var h = t.geometry.coordinates,
                            d = h[0][0],
                            p = h[1][0],
                            m = h[0][1],
                            g = h[1][1];
                        t.geometry = {
                            type: "Polygon",
                            coordinates: [
                                [
                                    [d, g],
                                    [d, m],
                                    [p, m],
                                    [p, g],
                                    [d, g],
                                ],
                            ],
                        };
                    }
                }
            }
            var w = function (t) {
                    return new DOMParser().parseFromString(t, "application/xml");
                },
                b = function (t) {
                    return t.split(".").pop();
                },
                k = function (t) {
                    return new o().loadAsync(t).then(function (t) {
                        var e = null;
                        return (
                            t.forEach(function (t, r) {
                                "kml" === b(t) && null === e && (e = r.async("string").then(w));
                            }),
                            e || Promise.reject("No kml file found")
                        );
                    });
                };
            function x(t, e) {
                if (!t) return Promise.reject("参数不能为空");
                if ("string" == typeof (o = t) && o.constructor == String) {
                    var r = b(t);
                    if ("kml" === r)
                        return (function (t, e) {
                            var r = y({ method: "GET", headers: { "Content-Type": "application/xml" } }, e);
                            return fetch(t, r)
                                .then(function (t) {
                                    return t.text();
                                })
                                .then(function (t) {
                                    return w(t);
                                });
                        })(t, e).then(function (t) {
                            return Object(a.a)(t);
                        });
                    if ("kmz" === r)
                        return (function (t, e) {
                            var r = y({ method: "GET" }, e);
                            return fetch(t, r).then(function (t) {
                                return t.blob();
                            });
                        })(t, e)
                            .then(function (t) {
                                return k(t);
                            })
                            .then(function (t) {
                                return Object(a.a)(t);
                            });
                    var n = Object(a.a)(w(t));
                    return Promise.resolve(n);
                }
                if (t.getRootNode) {
                    var i = Object(a.a)(t);
                    return Promise.resolve(i);
                }
                return k(t).then(function (t) {
                    return Object(a.a)(t);
                });
                var o;
            }
        },
    ]);
});
